Remove Error-Prone ExpectedExceptionChecker
The checker only checks for misuse of ExpectedException. Since we've moved to JUnit 4.13 and assertThrows, ExpectedException won't be used at all, so now we can get rid of that setting. Change-Id: Ia9189936ae215110f1f5fc6459c5dbc944404ade Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
fc7b003163
commit
8fa3594565
|
@ -69,9 +69,6 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<compilerId>javac-with-errorprone</compilerId>
|
<compilerId>javac-with-errorprone</compilerId>
|
||||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||||
<compilerArgs>
|
|
||||||
<arg>-Xep:ExpectedExceptionChecker:ERROR</arg>
|
|
||||||
</compilerArgs>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|
3
pom.xml
3
pom.xml
|
@ -836,9 +836,6 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<compilerId>javac-with-errorprone</compilerId>
|
<compilerId>javac-with-errorprone</compilerId>
|
||||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||||
<compilerArgs>
|
|
||||||
<arg>-Xep:ExpectedExceptionChecker:ERROR</arg>
|
|
||||||
</compilerArgs>
|
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude>
|
<exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
|
|
|
@ -39,7 +39,6 @@ java_package_configuration(
|
||||||
"-Xep:ElementsCountedInLoop:ERROR",
|
"-Xep:ElementsCountedInLoop:ERROR",
|
||||||
"-Xep:EqualsHashCode:ERROR",
|
"-Xep:EqualsHashCode:ERROR",
|
||||||
"-Xep:EqualsIncompatibleType:ERROR",
|
"-Xep:EqualsIncompatibleType:ERROR",
|
||||||
"-Xep:ExpectedExceptionChecker:ERROR",
|
|
||||||
"-Xep:Finally:WARN",
|
"-Xep:Finally:WARN",
|
||||||
"-Xep:FloatingPointLiteralPrecision:ERROR",
|
"-Xep:FloatingPointLiteralPrecision:ERROR",
|
||||||
"-Xep:FragmentInjection:ERROR",
|
"-Xep:FragmentInjection:ERROR",
|
||||||
|
|
Loading…
Reference in New Issue