aboutsummaryrefslogtreecommitdiffstats
path: root/tools/BUILD
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-11-08 11:09:54 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-11-08 11:09:54 +0900
commit1385f4b3dacca2b30dc4f78967e831720618c782 (patch)
treeb38a43db0e1bd3e0632ef0345ec476bae64793eb /tools/BUILD
parent58bcbf89b027dacd9c2673dd3fcbef174fc661ed (diff)
downloadjgit-1385f4b3dacca2b30dc4f78967e831720618c782.tar.gz
jgit-1385f4b3dacca2b30dc4f78967e831720618c782.zip
Bazel: Increase severity of ClassCanBeStatic to ERROR
Change-Id: I8250fd15cfff6bbba54a238be31b3cf772edab3f Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'tools/BUILD')
-rw-r--r--tools/BUILD2
1 files changed, 1 insertions, 1 deletions
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",