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:
parent
9c27002c49
commit
c543b8ee1a
|
@ -117,7 +117,7 @@ public String toConfigValue() {
|
||||||
@Override
|
@Override
|
||||||
public boolean matchConfigValue(String in) {
|
public boolean matchConfigValue(String in) {
|
||||||
return toConfigValue().equalsIgnoreCase(in)
|
return toConfigValue().equalsIgnoreCase(in)
|
||||||
|| alias != null && alias.equalsIgnoreCase(in);
|
|| (alias != null && alias.equalsIgnoreCase(in));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue