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