소스 검색

Clarify operator precedence to fix errorprone error

Errorprone raised error OperatorPrecedence in bazel build.

Change-Id: Ibab601e67d4d5cafe9a7d900c78b0d432181a073
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
changes/34/179734/5
Matthias Sohn 3 년 전
부모
커밋
a14bc9bb69
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/ssh/OpenSshConfigFile.java

+ 2
- 2
org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/ssh/OpenSshConfigFile.java 파일 보기

@@ -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();

Loading…
취소
저장