aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2015-01-22 00:42:22 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2015-01-22 00:42:22 +0100
commit9ffe6deced8dd79dd283fff650a8ac19ce3d9a08 (patch)
tree6c93399bee7637c503cb3741d0750a28fa4b6cbe /org.eclipse.jgit/src/org/eclipse
parente7f153bf3a28139a40faf5dde5270da0ce50aa4b (diff)
downloadjgit-9ffe6deced8dd79dd283fff650a8ac19ce3d9a08.tar.gz
jgit-9ffe6deced8dd79dd283fff650a8ac19ce3d9a08.zip
Silence non-externalized string warnings in RepoCommand
Change-Id: Ia25543c0d80817f8eb35c667ba5dcce046131a7c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
index 4207513e70..a4b444ed2c 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
+++ b/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);
}