diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2014-07-15 11:22:47 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-09-04 11:28:03 +0200 |
commit | 0bc98f17b2b3504b1b180a605e45654ace49ef1a (patch) | |
tree | 23d21136877be8834969b56fff480ebb3beea735 /org.eclipse.jgit/src/org/eclipse/jgit/util | |
parent | 00c4a73fbcedf8696f573c9a749a7d4da70a832f (diff) | |
download | jgit-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/util')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java index 20366efdfd..37c9f7b8a4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java @@ -170,7 +170,7 @@ public class HttpSupport { final String host = c.getURL().getHost(); // The standard J2SE error message is not very useful. // - if ("Connection timed out: connect".equals(ce.getMessage())) + if ("Connection timed out: connect".equals(ce.getMessage())) //$NON-NLS-1$ throw new ConnectException(MessageFormat.format(JGitText.get().connectionTimeOut, host)); throw new ConnectException(ce.getMessage() + " " + host); //$NON-NLS-1$ } @@ -197,7 +197,7 @@ public class HttpSupport { final String host = c.getURL().getHost(); // The standard J2SE error message is not very useful. // - if ("Connection timed out: connect".equals(ce.getMessage())) + if ("Connection timed out: connect".equals(ce.getMessage())) //$NON-NLS-1$ throw new ConnectException(MessageFormat.format( JGitText.get().connectionTimeOut, host)); throw new ConnectException(ce.getMessage() + " " + host); //$NON-NLS-1$ |