gson-comments/gson/src/main
sembseth 105f28ffe6
BoundField.write memory optimization (#2325)
* BoundField.write memory optimization

Declare and initialize the type adapter used for writing BoundFields outside of the anonymous class to ensure that a new TypeAdapterRuntimeTypeWrapper is not constructed each time a BoundField is written. This type adapter is only initialized if the BoundField will be used for serialization.

* Avoid confusing nullness-analysis tools
2023-02-28 14:46:05 -08:00
..
java BoundField.write memory optimization (#2325) 2023-02-28 14:46:05 -08:00
java-templates/com/google/gson/internal Private constructor (#1324) 2018-05-21 20:04:22 -07:00