diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2016-01-14 16:37:39 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2016-01-19 17:27:45 +0100 |
commit | 9ddc0ed83d56a54950fc91b459d473267144f194 (patch) | |
tree | 8c55ec3d8352d667864bd3b68eb8e4e0af669124 /org.eclipse.jgit | |
parent | d1e821ec3fb234607a4701446a55b2cea7f78fa4 (diff) | |
download | jgit-9ddc0ed83d56a54950fc91b459d473267144f194.tar.gz jgit-9ddc0ed83d56a54950fc91b459d473267144f194.zip |
Add $NON-NLS to suppress "Non-externalized string literal" warnings
Change-Id: I3e6f83ad2bc7d493e2c1ab5a8c60affa2b49c386
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java index 9aeb840ebe..2f9dfa1d6b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java @@ -715,7 +715,7 @@ public class URIish implements Serializable { */ public String getHumanishName() throws IllegalArgumentException { String s = getPath(); - if ("/".equals(s) || "".equals(s)) //$NON-NLS-1$ + if ("/".equals(s) || "".equals(s)) //$NON-NLS-1$ //$NON-NLS-2$ s = getHost(); if (s == null) // $NON-NLS-1$ throw new IllegalArgumentException(); |