gson-comments/gson/src/main/java/com/google/gson
Maicol 0a42c31efe
Code cleanup (#2282)
* Simplify `if` condition in JsonReader.peekNumber()

* Remove `if` to simplify a `return` in Excluder.excludeClassChecks()

* Remove redundant variable in Gson.fromJson()

* equal condition replace by `Objects.equals()` in $Gson$Types.equal()

* equal condition replace by `Objects.equals()` in LinkedTreeMap.equal()

* Replace `switch` with `if` in UtcDateTypeAdapter.read()

* Remove redundant `throws` clause in GraphAdapterBuilder.read()

* Remove redundant `throws` clause in JsonTreeReader.UNREADABLE_READER

* Remove redundant `throws` clause in JsonTreeWriter.UNREADABLE_READER

* Remove unnecessary `.initCause()` call

* Remove redundant cast in TreeTypeAdapter.GsonContextImpl.deserialize

* Replace `StringBuilder` with `String`

* Fix the import and restore the `switch`

* Fix the import

* Add the `util.Objects` import

* Fix indentation

* Add a comment to clarify the condition

* Fix indentation

* Fix imports

* Fix indentation

* Fix indentation

* Fix indentation
2022-12-13 08:50:25 -08:00
..
annotations Clarify in documentation that Gson might cache strategy results (#2215) 2022-10-04 09:01:55 -07:00
internal Code cleanup (#2282) 2022-12-13 08:50:25 -08:00
reflect Add Gson.fromJson(..., TypeToken) overloads (#1700) 2022-09-19 06:47:11 -07:00
stream Code cleanup (#2282) 2022-12-13 08:50:25 -08:00
ExclusionStrategy.java Improve documentation (#2193) 2022-09-09 07:32:55 -07:00
FieldAttributes.java Replace $Gson$Preconditions.checkNotNull with Objects.requireNonNull (#2180) 2022-08-22 07:22:32 -07:00
FieldNamingPolicy.java Add Javadoc since tags for previously added elements (#2211) 2022-10-01 15:58:26 -07:00
FieldNamingStrategy.java Code cleanup (Removed spaces) (#1474) 2019-03-03 11:18:06 -08:00
Gson.java Code cleanup (#2282) 2022-12-13 08:50:25 -08:00
GsonBuilder.java Clarify in documentation that Gson might cache strategy results (#2215) 2022-10-04 09:01:55 -07:00
InstanceCreator.java Made author tags consistent across the public api. 2009-04-01 17:03:31 +00:00
JsonArray.java [maven-release-plugin] prepare release gson-parent-2.10 2022-10-24 17:33:34 -07:00
JsonDeserializationContext.java Roll back JsonSerializationContext and JsonDeserializationContext to their 1.7.2 API. 2011-10-01 00:58:25 +00:00
JsonDeserializer.java Fix the javadoc of JsonDeserializer.deserialize() (#2243) 2022-12-05 12:59:14 -08:00
JsonElement.java Make JsonElement conversion methods more consistent and fix javadoc (#2178) 2022-08-21 13:29:40 -07:00
JsonIOException.java Remove dead code and fold contents of single-member helper classes into their clients. 2011-11-20 21:02:26 +00:00
JsonNull.java Remove already covered condition in JsonNull.equals() (#2271) 2022-12-06 10:43:08 -08:00
JsonObject.java Added JsonObject method isEmpty() (#2233) 2022-11-13 12:58:30 -08:00
JsonParseException.java Code cleanup (Removed spaces) (#1474) 2019-03-03 11:18:06 -08:00
JsonParser.java Add Javadoc since tags for previously added elements (#2211) 2022-10-01 15:58:26 -07:00
JsonPrimitive.java Improve documentation (#2193) 2022-09-09 07:32:55 -07:00
JsonSerializationContext.java Roll back JsonSerializationContext and JsonDeserializationContext to their 1.7.2 API. 2011-10-01 00:58:25 +00:00
JsonSerializer.java Fix non-threadsafe creation of adapter for type with cyclic dependency (#1832) 2022-12-05 09:10:36 -08:00
JsonStreamParser.java Add CodeQL GitHub code scanning workflow (#2076) 2022-02-17 18:40:40 -08:00
JsonSyntaxException.java Fix JavaDoc on JsonSyntaxException 2010-11-05 20:34:27 +00:00
LongSerializationPolicy.java Fix LongSerializationPolicy null handling being inconsistent with Gson (#1990) 2021-10-11 12:34:32 -07:00
package-info.java moved gson as a project under trunk 2008-09-01 03:13:32 +00:00
ReflectionAccessFilter.java Add Javadoc since tags for previously added elements (#2211) 2022-10-01 15:58:26 -07:00
ToNumberPolicy.java Add Javadoc since tags for previously added elements (#2211) 2022-10-01 15:58:26 -07:00
ToNumberStrategy.java Add Javadoc since tags for previously added elements (#2211) 2022-10-01 15:58:26 -07:00
TypeAdapter.java Fix non-threadsafe creation of adapter for type with cyclic dependency (#1832) 2022-12-05 09:10:36 -08:00
TypeAdapterFactory.java Fix incorrect HTML headings in Javadoc (#2200) 2022-09-24 17:02:11 -07:00