From f4185289f64a703b5c696d8f44a17f26bda7f00d Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Sat, 9 Aug 2014 05:35:33 +0000 Subject: [PATCH] Correct TypeAdapterFactory reference in its Javadoc. --- gson/src/main/java/com/google/gson/TypeAdapterFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gson/src/main/java/com/google/gson/TypeAdapterFactory.java b/gson/src/main/java/com/google/gson/TypeAdapterFactory.java index 536427f4..e12a72dc 100644 --- a/gson/src/main/java/com/google/gson/TypeAdapterFactory.java +++ b/gson/src/main/java/com/google/gson/TypeAdapterFactory.java @@ -28,7 +28,7 @@ import com.google.gson.reflect.TypeToken; * that they're defined in {@code CONSTANT_CASE} in the corresponding Java * model:
   {@code
  *
- *   public class LowercaseEnumTypeAdapterFactory implements TypeAdapter.Factory {
+ *   public class LowercaseEnumTypeAdapterFactory implements TypeAdapterFactory {
  *     public  TypeAdapter create(Gson gson, TypeToken type) {
  *       Class rawType = (Class) type.getRawType();
  *       if (!rawType.isEnum()) {
@@ -102,7 +102,7 @@ import com.google.gson.reflect.TypeToken;
  * multiset's type token. A {@code Gson} is passed in to {@code create} for
  * just this purpose: 
   {@code
  *
- *   public class MultisetTypeAdapterFactory implements TypeAdapter.Factory {
+ *   public class MultisetTypeAdapterFactory implements TypeAdapterFactory {
  *     public  TypeAdapter create(Gson gson, TypeToken typeToken) {
  *       Type type = typeToken.getType();
  *       if (typeToken.getRawType() != Multiset.class