]> source.dussan.org Git - jgit.git/commitdiff
Bazel: Increase severity of ClassCanBeStatic to ERROR 98/132098/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 8 Nov 2018 02:09:54 +0000 (11:09 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 8 Nov 2018 02:09:54 +0000 (11:09 +0900)
Change-Id: I8250fd15cfff6bbba54a238be31b3cf772edab3f
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
tools/BUILD

index 7dd7f04cce2c1610b2e1c81500d8d3d4d297b014..9025e0a6d3ea4785c4acb44cc83bc95cdc0c8e6e 100644 (file)
@@ -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",