Suppress non-externalized String warnings

Change-Id: I95c61bd906bd3f7cdea9581e0ffa92ec607c6140
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 e36eecc..e9134a1 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java
@@ -154,7 +154,7 @@ public RefSpec(String spec, WildcardMode mode) {
 		this.allowMismatchedWildcards = mode;
 		String s = spec;
 
-		if (s.startsWith("^+") || s.startsWith("+^")) {
+		if (s.startsWith("^+") || s.startsWith("+^")) { //$NON-NLS-1$ //$NON-NLS-2$
 			throw new IllegalArgumentException(
 					JGitText.get().invalidNegativeAndForce);
 		}
@@ -164,7 +164,7 @@ public RefSpec(String spec, WildcardMode mode) {
 			s = s.substring(1);
 		}
 
-		if(s.startsWith("^")) {
+		if (s.startsWith("^")) { //$NON-NLS-1$
 			negative = true;
 			s = s.substring(1);
 		}
@@ -251,7 +251,7 @@ public RefSpec(String spec, WildcardMode mode) {
 	 *             the specification is invalid.
 	 */
 	public RefSpec(String spec) {
-		this(spec, spec.startsWith("^") ? WildcardMode.ALLOW_MISMATCH
+		this(spec, spec.startsWith("^") ? WildcardMode.ALLOW_MISMATCH //$NON-NLS-1$
 				: WildcardMode.REQUIRE_MATCH);
 	}