]> source.dussan.org Git - jgit.git/commit
Bazel: Increase severity of most error-prone checks to ERROR 16/142816/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 26 May 2019 09:03:07 +0000 (18:03 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 26 May 2019 09:03:07 +0000 (18:03 +0900)
commit245c2c09a079e2f6fffb05125b23ee4d9dd9a331
tree489ebe5b659626f0353b76df8fcd30b6977f23a0
parent4c33f70d5a591f4572b32186b39de4344d8bfe65
Bazel: Increase severity of most error-prone checks to ERROR

Most of the checks can be increased to ERROR because there is no
code in the project that triggers them.

There are still several that are triggered, and these are left
at the WARN severity:

  https://errorprone.info/bugpattern/AmbiguousMethodReference
  https://errorprone.info/bugpattern/BadComparable
  https://errorprone.info/bugpattern/ClassNewInstance
  https://errorprone.info/bugpattern/Finally
  https://errorprone.info/bugpattern/FutureReturnValueIgnored
  https://errorprone.info/bugpattern/ImmutableEnumChecker
  https://errorprone.info/bugpattern/NarrowingCompoundAssignment
  https://errorprone.info/bugpattern/NonOverridingEquals
  https://errorprone.info/bugpattern/OperatorPrecedence
  https://errorprone.info/bugpattern/ReferenceEquality
  https://errorprone.info/bugpattern/ShortCircuitBoolean
  https://errorprone.info/bugpattern/StringEquality
  https://errorprone.info/bugpattern/TypeParameterUnusedInFormals

These can be cleaned up and increased to ERROR in follow-up
commits.

Change-Id: Icfc3b3163e129e504f10b3fc856aef262f723f99
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
tools/BUILD