diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-11-25 17:17:20 +0100 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-12-27 16:57:38 +0100 |
commit | c310fa0c802f40a774edb58641de3ac5bfad0e2c (patch) | |
tree | 28dc002136ce8a2c122e2cb012a317aa7d8a0efa /org.eclipse.jgit/src/org/eclipse/jgit/api/errors | |
parent | 03d50dc50b584caf2826f7db8a4748435b610f63 (diff) | |
download | jgit-c310fa0c802f40a774edb58641de3ac5bfad0e2c.tar.gz jgit-c310fa0c802f40a774edb58641de3ac5bfad0e2c.zip |
Mark non-externalizable strings as such
A few classes such as Constanrs are marked with @SuppressWarnings, as are
toString() methods with many liternal, but otherwise $NLS-n$ is used for
string containing text that should not be translated. A few literals may
fall into the gray zone, but mostly I've tried to only tag the obvious
ones.
Change-Id: I22e50a77e2bf9e0b842a66bdf674e8fa1692f590
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/errors')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/errors/ConcurrentRefUpdateException.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/ConcurrentRefUpdateException.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/ConcurrentRefUpdateException.java index a6ab5bc66d..b5e87f1f5c 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/ConcurrentRefUpdateException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/ConcurrentRefUpdateException.java @@ -62,7 +62,7 @@ public class ConcurrentRefUpdateException extends GitAPIException { */ public ConcurrentRefUpdateException(String message, Ref ref, RefUpdate.Result rc, Throwable cause) { - super((rc == null) ? message : message + ". " + super((rc == null) ? message : message + ". " //$NON-NLS-1$ + MessageFormat.format(JGitText.get().refUpdateReturnCodeWas, rc), cause); this.rc = rc; this.ref = ref; @@ -75,7 +75,7 @@ public class ConcurrentRefUpdateException extends GitAPIException { */ public ConcurrentRefUpdateException(String message, Ref ref, RefUpdate.Result rc) { - super((rc == null) ? message : message + ". " + super((rc == null) ? message : message + ". " //$NON-NLS-1$ + MessageFormat.format(JGitText.get().refUpdateReturnCodeWas, rc)); this.rc = rc; this.ref = ref; |