This fixes the errorprone warning OperatorPrecedence. Change-Id: I4c7dafa5ac8e1d58fa15cf91fe1b3cf3f182d536tags/v5.12.0.202106070339-r
@@ -881,8 +881,8 @@ public class OpenSshConfigFile implements SshConfigStore { | |||
public String substitute(String input, String allowed, | |||
boolean withEnv) { | |||
if (input == null || input.length() <= 1 | |||
|| input.indexOf('%') < 0 | |||
&& (!withEnv || input.indexOf("${") < 0)) { //$NON-NLS-1$ | |||
|| (input.indexOf('%') < 0 | |||
&& (!withEnv || input.indexOf("${") < 0))) { //$NON-NLS-1$ | |||
return input; | |||
} | |||
StringBuilder builder = new StringBuilder(); |