diff --git a/gson/pom.xml b/gson/pom.xml index bf7d6cfb..831d460d 100644 --- a/gson/pom.xml +++ b/gson/pom.xml @@ -17,20 +17,6 @@ UTF-8 - The Apache Software License, Version 2.0 diff --git a/gson/src/main/java/com/google/gson/FieldAttributes.java b/gson/src/main/java/com/google/gson/FieldAttributes.java index 722cd505..f847b20e 100644 --- a/gson/src/main/java/com/google/gson/FieldAttributes.java +++ b/gson/src/main/java/com/google/gson/FieldAttributes.java @@ -254,7 +254,7 @@ public final class FieldAttributes { * @param typeDefiningF the type that contains the field {@code f} * @return the type information for the field */ - public static Type getTypeInfoForField(Field f, Type typeDefiningF) { + static Type getTypeInfoForField(Field f, Type typeDefiningF) { Class rawType = $Types.getRawType(typeDefiningF); if (!f.getDeclaringClass().isAssignableFrom(rawType)) { // this field is unrelated to the type; the user probably omitted type information