Merge "ErrorProne: Enable check for misuse of ExpectedException"
This commit is contained in:
commit
bd4b6d3bf1
3
pom.xml
3
pom.xml
|
@ -772,6 +772,9 @@
|
||||||
<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>
|
||||||
|
|
Loading…
Reference in New Issue