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
This commit is contained in:
Fabio Ponciroli 2022-03-02 10:03:51 +01:00 committed by Matthias Sohn
parent 9c27002c49
commit c543b8ee1a
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public String toConfigValue() {
@Override
public boolean matchConfigValue(String in) {
return toConfigValue().equalsIgnoreCase(in)
|| alias != null && alias.equalsIgnoreCase(in);
|| (alias != null && alias.equalsIgnoreCase(in));
}
}