diff options
author | Fabio Ponciroli <ponch78@gmail.com> | 2022-03-02 10:03:51 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2022-03-02 16:24:44 +0100 |
commit | c543b8ee1a8c2e265c08688ff495933204819828 (patch) | |
tree | 1728ec8e1501879b358e8225d9b0640b98a9ce6a /org.eclipse.jgit/src/org | |
parent | 9c27002c492e29a7f81a97899e779d5778fda796 (diff) | |
download | jgit-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.java | 2 |
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)); } } |