aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org
diff options
context:
space:
mode:
authorFabio Ponciroli <ponch78@gmail.com>2022-03-02 10:03:51 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2022-03-02 16:24:44 +0100
commitc543b8ee1a8c2e265c08688ff495933204819828 (patch)
tree1728ec8e1501879b358e8225d9b0640b98a9ce6a /org.eclipse.jgit/src/org
parent9c27002c492e29a7f81a97899e779d5778fda796 (diff)
downloadjgit-c543b8ee1a8c2e265c08688ff495933204819828.tar.gz
jgit-c543b8ee1a8c2e265c08688ff495933204819828.zip
Make precedence more explicit
Errorprone was failing the build with: "[OperatorPrecedence]. Use grouping parenthesis to make the operator precedence explicit" Add parentheses to silence it. Change-Id: I81f1f249e38fd2543f5412b3501b0179d0759f55
Diffstat (limited to 'org.eclipse.jgit/src/org')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/PushConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushConfig.java
index 0de270261e..c8774d546a 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushConfig.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PushConfig.java
@@ -117,7 +117,7 @@ public class PushConfig {
@Override
public boolean matchConfigValue(String in) {
return toConfigValue().equalsIgnoreCase(in)
- || alias != null && alias.equalsIgnoreCase(in);
+ || (alias != null && alias.equalsIgnoreCase(in));
}
}