aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2019-06-12 09:06:46 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2019-06-12 09:28:54 +0900
commit0f4554f12644b110f7b744a9f5f0ee34873e9497 (patch)
treedda7f58a73d7d69f9c633d116a75c01da60bee8b /tools
parentc177c6f4c53eb8d42bc3de81a8d914949e6ab5aa (diff)
downloadjgit-0f4554f12644b110f7b744a9f5f0ee34873e9497.tar.gz
jgit-0f4554f12644b110f7b744a9f5f0ee34873e9497.zip
Increase severity of OperatorPrecedence to ERROR, and fix instances
Fix all remaining instances of the OperatorPrededence warning, by adding parentheses to make the precedence explicit. Change-Id: Ib296dfed09f9be042d0ff0f7fad8214e4dd766b4 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/BUILD b/tools/BUILD
index 38daececbe..d94ce02ad1 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -64,7 +64,7 @@ java_package_configuration(
"-Xep:NullableConstructor:ERROR",
"-Xep:NullablePrimitive:ERROR",
"-Xep:NullableVoid:ERROR",
- "-Xep:OperatorPrecedence:WARN",
+ "-Xep:OperatorPrecedence:ERROR",
"-Xep:OverridesGuiceInjectableMethod:ERROR",
"-Xep:PreconditionsInvalidPlaceholder:ERROR",
"-Xep:ProtoFieldPreconditionsCheckNotNull:ERROR",