File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
android/guava/src/com/google/common/reflect
guava/src/com/google/common/reflect Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ Type usedInGenericType(Type type) {
609609 * should really validate that it works as desired for all Android versions that we support.
610610 */
611611 @ IgnoreJRERequirement
612- @ SuppressWarnings ("AndroidJdkLibsChecker " )
612+ @ SuppressWarnings ("NewApi " )
613613 @ Override
614614 String typeName (Type type ) {
615615 return type .getTypeName ();
@@ -627,6 +627,7 @@ Type usedInGenericType(Type type) {
627627 }
628628
629629 @ IgnoreJRERequirement
630+ @ SuppressWarnings ("NewApi" ) // see JAVA8.typeName
630631 @ Override
631632 String typeName (Type type ) {
632633 return type .getTypeName ();
Original file line number Diff line number Diff line change @@ -608,7 +608,7 @@ Type usedInGenericType(Type type) {
608608 * logic in the static initializer, which does not check for getTypeName specifically. We
609609 * should really validate that it works as desired for all Android versions that we support.
610610 */
611- @ SuppressWarnings ("AndroidJdkLibsChecker " )
611+ @ SuppressWarnings ("NewApi " )
612612 @ Override
613613 String typeName (Type type ) {
614614 return type .getTypeName ();
@@ -625,6 +625,7 @@ Type usedInGenericType(Type type) {
625625 return JAVA8 .usedInGenericType (type );
626626 }
627627
628+ @ SuppressWarnings ("NewApi" ) // see JAVA8.typeName
628629 @ Override
629630 String typeName (Type type ) {
630631 return type .getTypeName ();
You can’t perform that action at this time.
0 commit comments