Suppress warning about calling getClass() on annotation.
This commit is contained in:
parent
56bdbe0372
commit
3cd753fcc4
2 changed files with 4 additions and 3 deletions
|
@ -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 =
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -80,7 +80,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.3</version>
|
||||
<version>3.6.1</version>
|
||||
<configuration>
|
||||
<compilerId>javac-with-errorprone</compilerId>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
|
@ -91,12 +91,12 @@
|
|||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-compiler-javac-errorprone</artifactId>
|
||||
<version>2.8</version>
|
||||
<version>2.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.errorprone</groupId>
|
||||
<artifactId>error_prone_core</artifactId>
|
||||
<version>2.0.15</version>
|
||||
<version>2.0.16</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
|
|
Loading…
Reference in a new issue