Fix a broken Javadoc link to this.
This commit is contained in:
parent
214234e202
commit
2ef7716209
|
@ -166,7 +166,7 @@ public abstract class TypeAdapter<T> {
|
||||||
* }).create();
|
* }).create();
|
||||||
* }</pre>
|
* }</pre>
|
||||||
* You can avoid this boilerplate handling of nulls by wrapping your type adapter with
|
* You can avoid this boilerplate handling of nulls by wrapping your type adapter with
|
||||||
* {@link #nullSafe(TypeAdapter)} method. Here is how we will rewrite the above example:
|
* this method. Here is how we will rewrite the above example:
|
||||||
* <pre> {@code
|
* <pre> {@code
|
||||||
*
|
*
|
||||||
* Gson gson = new GsonBuilder().registerTypeAdapter(Foo.class,
|
* Gson gson = new GsonBuilder().registerTypeAdapter(Foo.class,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user