aboutsummaryrefslogtreecommitdiffstats
path: root/tools/BUILD
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2023-05-25 08:19:06 +0200
committerDavid Ostrovsky <d.ostrovsky@gmx.de>2023-05-31 00:30:02 -0400
commitf4eb38f9fe3dd3ccf1767abe6a79b91535bfc839 (patch)
tree760989679b3b8440cb963c2993578c2545c04b95 /tools/BUILD
parentceeb9ad80df38fe850abdbc85cb7db71c2fb80f7 (diff)
downloadjgit-f4eb38f9fe3dd3ccf1767abe6a79b91535bfc839.tar.gz
jgit-f4eb38f9fe3dd3ccf1767abe6a79b91535bfc839.zip
Bump bazel vesion to 6.2.0
Also demote severity level for bug pattern: PreferredInterfaceType, aka MutableConstantField: [1] from error to warning. Also fix DoubleBraceInitialization error prone bug pattern [2]. [1] https://errorprone.info/bugpattern/PreferredInterfaceType [2] https://errorprone.info/bugpattern/DoubleBraceInitialization Change-Id: I04b7d0792e67cbc51e3939bd47c2ea13a685cf0d (cherry picked from commit 0f071a7bcee1f551652b2ae017f3e0e134c7eb74)
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 1e671087d6..dd081d9178 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -68,7 +68,7 @@ java_package_configuration(
"-Xep:LiteralClassName:ERROR",
"-Xep:MissingFail:ERROR",
"-Xep:MissingOverride:ERROR",
- "-Xep:MutableConstantField:ERROR",
+ "-Xep:MutableConstantField:WARN",
"-Xep:NarrowingCompoundAssignment:ERROR",
"-Xep:NonAtomicVolatileUpdate:ERROR",
"-Xep:NonOverridingEquals:ERROR",