diff --git a/moshi/src/test/java/com/squareup/moshi/TypesTest.java b/moshi/src/test/java/com/squareup/moshi/TypesTest.java index 199680a..01e38d0 100644 --- a/moshi/src/test/java/com/squareup/moshi/TypesTest.java +++ b/moshi/src/test/java/com/squareup/moshi/TypesTest.java @@ -209,6 +209,7 @@ public final class TypesTest { .containsExactly(String.class, Integer.class); } + @SuppressWarnings("GetClassOnAnnotation") // Explicitly checking for proxy implementation. @Test public void createJsonQualifierImplementation() throws Exception { TestQualifier actual = Types.createJsonQualifierImplementation(TestQualifier.class); TestQualifier expected = diff --git a/pom.xml b/pom.xml index 09016e4..ddf1a27 100644 --- a/pom.xml +++ b/pom.xml @@ -80,7 +80,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.6.1 javac-with-errorprone true @@ -91,12 +91,12 @@ org.codehaus.plexus plexus-compiler-javac-errorprone - 2.8 + 2.8.1 com.google.errorprone error_prone_core - 2.0.15 + 2.0.16