From c543b8ee1a8c2e265c08688ff495933204819828 Mon Sep 17 00:00:00 2001 From: Fabio Ponciroli Date: Wed, 2 Mar 2022 10:03:51 +0100 Subject: [PATCH] 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 --- org.eclipse.jgit/src/org/eclipse/jgit/transport/PushConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- 2.39.5