Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion android/guava/src/com/google/common/reflect/Types.java
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ Type usedInGenericType(Type type) {
* should really validate that it works as desired for all Android versions that we support.
*/
@IgnoreJRERequirement
@SuppressWarnings("AndroidJdkLibsChecker")
@SuppressWarnings("NewApi")
@Override
String typeName(Type type) {
return type.getTypeName();
Expand All @@ -627,6 +627,7 @@ Type usedInGenericType(Type type) {
}

@IgnoreJRERequirement
@SuppressWarnings("NewApi") // see JAVA8.typeName
@Override
String typeName(Type type) {
return type.getTypeName();
Expand Down
3 changes: 2 additions & 1 deletion guava/src/com/google/common/reflect/Types.java
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ Type usedInGenericType(Type type) {
* logic in the static initializer, which does not check for getTypeName specifically. We
* should really validate that it works as desired for all Android versions that we support.
*/
@SuppressWarnings("AndroidJdkLibsChecker")
@SuppressWarnings("NewApi")
@Override
String typeName(Type type) {
return type.getTypeName();
Expand All @@ -625,6 +625,7 @@ Type usedInGenericType(Type type) {
return JAVA8.usedInGenericType(type);
}

@SuppressWarnings("NewApi") // see JAVA8.typeName
@Override
String typeName(Type type) {
return type.getTypeName();
Expand Down