소스 검색

Silence non-externalized string warnings in RepoCommand

Change-Id: Ia25543c0d80817f8eb35c667ba5dcce046131a7c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v3.7.0.201502031740-rc1
Matthias Sohn 9 년 전
부모
커밋
9ffe6deced
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4
    4
      org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java

+ 4
- 4
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java 파일 보기

@@ -428,8 +428,8 @@ public class RepoCommand extends GitCommand<RevCommit> {
currentProject.path,
attributes.getValue("src"), //$NON-NLS-1$
attributes.getValue("dest"))); //$NON-NLS-1$
} else if ("include".equals(qName)) { //$NON_NLS-1$
String name = attributes.getValue("name");
} else if ("include".equals(qName)) { //$NON-NLS-1$
String name = attributes.getValue("name"); //$NON-NLS-1$
InputStream is = null;
if (includedReader != null) {
try {
@@ -505,8 +505,8 @@ public class RepoCommand extends GitCommand<RevCommit> {
String remoteUrl = remoteUrls.get(remote);
if (remoteUrl == null) {
remoteUrl = baseUri.resolve(remotes.get(remote)).toString();
if (!remoteUrl.endsWith("/"))
remoteUrl = remoteUrl + "/";
if (!remoteUrl.endsWith("/")) //$NON-NLS-1$
remoteUrl = remoteUrl + "/"; //$NON-NLS-1$
remoteUrls.put(remote, remoteUrl);
}


Loading…
취소
저장