From 1f14c16ae459d82b14fcde504bde8d4657b57f57 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 25 Sep 2018 11:59:11 +0900 Subject: [PATCH] Bazel: Increase severity of ExpectedExceptionChecker to ERROR Incorrect usage of ExpectedException has been cleaned up in the preceding commits. Increase the severity from WARN to ERROR so that it is easier to catch any reoccurences. Change-Id: I57decf620b37e85413bda53723f839c02b488f2c Signed-off-by: David Pursehouse --- tools/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/BUILD b/tools/BUILD index 84da3a8df..f8012f971 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -36,7 +36,7 @@ java_package_configuration( "-Xep:ElementsCountedInLoop:WARN", "-Xep:EqualsHashCode:WARN", "-Xep:EqualsIncompatibleType:WARN", - "-Xep:ExpectedExceptionChecker:WARN", + "-Xep:ExpectedExceptionChecker:ERROR", "-Xep:Finally:WARN", "-Xep:FloatingPointLiteralPrecision:WARN", "-Xep:FragmentInjection:WARN",