aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2014-07-15 11:22:47 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2014-09-04 11:28:03 +0200
commit0bc98f17b2b3504b1b180a605e45654ace49ef1a (patch)
tree23d21136877be8834969b56fff480ebb3beea735 /org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
parent00c4a73fbcedf8696f573c9a749a7d4da70a832f (diff)
downloadjgit-0bc98f17b2b3504b1b180a605e45654ace49ef1a.tar.gz
jgit-0bc98f17b2b3504b1b180a605e45654ace49ef1a.zip
Eliminate warnings for non-nls strings that will never be translated
Some of these eliminations just reduces the number of warnings on lines where messages are constructed that can/will be translated. Change-Id: I6eddb39ccc8f2488741bb58540d9ec5f5665e2c4
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java3
1 files changed, 1 insertions, 2 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 50701eae2e..330c7d911b 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java
@@ -876,8 +876,7 @@ public class RepoCommand extends GitCommand<RevCommit> {
private static String findRef(String ref, Repository repo)
throws IOException {
if (!ObjectId.isId(ref)) {
- Ref r = repo.getRef(
- Constants.DEFAULT_REMOTE_NAME + "/" + ref);
+ Ref r = repo.getRef(Constants.DEFAULT_REMOTE_NAME + "/" + ref); //$NON-NLS-1$
if (r != null)
return r.getName();
}