diff --git a/gson/src/main/java/com/google/gson/Gson.java b/gson/src/main/java/com/google/gson/Gson.java index 8910cbc4..64e54c4e 100644 --- a/gson/src/main/java/com/google/gson/Gson.java +++ b/gson/src/main/java/com/google/gson/Gson.java @@ -428,9 +428,9 @@ public final class Gson { * class StatsTypeAdapterFactory implements TypeAdapterFactory { * public int numReads = 0; * public int numWrites = 0; - * public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type) { - * final TypeAdapter<T> delegate = gson.getDelegateAdapter(this, type); - * return new TypeAdapter<T>() { + * public TypeAdapter create(Gson gson, TypeToken type) { + * final TypeAdapter delegate = gson.getDelegateAdapter(this, type); + * return new TypeAdapter() { * public void write(JsonWriter out, T value) throws IOException { * ++numWrites; * delegate.write(out, value);