aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-07-27 01:53:59 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2018-07-27 01:53:59 -0400
commitbd4b6d3bf1eb9eb28c933901ac9a8542824b9cfd (patch)
tree75e8ab9ce25a59a435e9eb0cb84ab9326f954c37
parent0c750978300d2b32974bc5352c1f6bf6a8e63b92 (diff)
parent4c29736a3e1d4fb94f11c424488b831a1f062e0b (diff)
downloadjgit-bd4b6d3bf1eb9eb28c933901ac9a8542824b9cfd.tar.gz
jgit-bd4b6d3bf1eb9eb28c933901ac9a8542824b9cfd.zip
Merge "ErrorProne: Enable check for misuse of ExpectedException"
-rw-r--r--pom.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 2758844ff0..61869ff43f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -772,6 +772,9 @@
<configuration>
<compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
+ <compilerArgs>
+ <arg>-Xep:ExpectedExceptionChecker:ERROR</arg>
+ </compilerArgs>
<excludes>
<exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude>
</excludes>