From c310fa0c802f40a774edb58641de3ac5bfad0e2c Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sun, 25 Nov 2012 17:17:20 +0100 Subject: 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 --- org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java') diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java index 98574b0fa1..53a7b02be3 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java @@ -63,7 +63,7 @@ public class RefSpec implements Serializable { * Suffix for wildcard ref spec component, that indicate matching all refs * with specified prefix. */ - public static final String WILDCARD_SUFFIX = "/*"; + public static final String WILDCARD_SUFFIX = "/*"; //$NON-NLS-1$ /** * Check whether provided string is a wildcard ref spec component. @@ -122,7 +122,7 @@ public class RefSpec implements Serializable { */ public RefSpec(final String spec) { String s = spec; - if (s.startsWith("+")) { + if (s.startsWith("+")) { //$NON-NLS-1$ force = true; s = s.substring(1); } -- cgit v1.2.3