From 1385f4b3dacca2b30dc4f78967e831720618c782 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 8 Nov 2018 11:09:54 +0900 Subject: [PATCH] Bazel: Increase severity of ClassCanBeStatic to ERROR Change-Id: I8250fd15cfff6bbba54a238be31b3cf772edab3f Signed-off-by: David Pursehouse --- tools/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/BUILD b/tools/BUILD index 7dd7f04cce..9025e0a6d3 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -29,7 +29,7 @@ java_package_configuration( "-Xep:BadComparable:WARN", "-Xep:BoxedPrimitiveConstructor:ERROR", "-Xep:CannotMockFinalClass:WARN", - "-Xep:ClassCanBeStatic:WARN", + "-Xep:ClassCanBeStatic:ERROR", "-Xep:ClassNewInstance:WARN", "-Xep:DefaultCharset:ERROR", "-Xep:DoubleCheckedLocking:WARN", -- 2.39.5