Browse Source

Bazel: Increase severity of ClassCanBeStatic to ERROR

Change-Id: I8250fd15cfff6bbba54a238be31b3cf772edab3f
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.2
David Pursehouse 6 years ago
parent
commit
1385f4b3da
  1. 2
      tools/BUILD

2
tools/BUILD

@ -29,7 +29,7 @@ java_package_configuration(
"-Xep:BadComparable:WARN", "-Xep:BadComparable:WARN",
"-Xep:BoxedPrimitiveConstructor:ERROR", "-Xep:BoxedPrimitiveConstructor:ERROR",
"-Xep:CannotMockFinalClass:WARN", "-Xep:CannotMockFinalClass:WARN",
"-Xep:ClassCanBeStatic:WARN", "-Xep:ClassCanBeStatic:ERROR",
"-Xep:ClassNewInstance:WARN", "-Xep:ClassNewInstance:WARN",
"-Xep:DefaultCharset:ERROR", "-Xep:DefaultCharset:ERROR",
"-Xep:DoubleCheckedLocking:WARN", "-Xep:DoubleCheckedLocking:WARN",

Loading…
Cancel
Save