Fix typo in PolymorphicJsonAdapterFactory.java (#1314)

This commit is contained in:
Márton Braun
2021-03-08 19:54:19 +01:00
committed by GitHub
parent 9ac54dd33f
commit 6df66b81dc

View File

@@ -166,8 +166,8 @@ public final class PolymorphicJsonAdapterFactory<T> implements JsonAdapter.Facto
* Returns a new factory that with default to {@code fallbackJsonAdapter.fromJson(reader)} upon
* decoding of unrecognized labels.
*
* <p>The {@link JsonReader} instance will not be automatically consumed, so sure to consume it
* within your implementation of {@link JsonAdapter#fromJson(JsonReader)}
* <p>The {@link JsonReader} instance will not be automatically consumed, so make sure to consume
* it within your implementation of {@link JsonAdapter#fromJson(JsonReader)}
*/
public PolymorphicJsonAdapterFactory<T> withFallbackJsonAdapter(
@Nullable JsonAdapter<Object> fallbackJsonAdapter) {