From: David Pursehouse Date: Thu, 8 Nov 2018 02:09:54 +0000 (+0900) Subject: Bazel: Increase severity of ClassCanBeStatic to ERROR X-Git-Tag: v5.2.0.201811281532-m3~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1385f4b3dacca2b30dc4f78967e831720618c782;p=jgit.git Bazel: Increase severity of ClassCanBeStatic to ERROR Change-Id: I8250fd15cfff6bbba54a238be31b3cf772edab3f Signed-off-by: David Pursehouse --- 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",