Browse Source

Fix non-externalized string warnings in IndexDiff

Change-Id: Ia803182114f0e8b418428e03601f9afc6542ed28
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-3.6
Matthias Sohn 10 years ago
parent
commit
d8fcc964a8
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java

4
org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java

@ -232,7 +232,7 @@ public class IndexDiff {
@Override @Override
public TreeFilter clone() { public TreeFilter clone() {
throw new IllegalStateException( throw new IllegalStateException(
"Do not clone this kind of filter: " "Do not clone this kind of filter: " //$NON-NLS-1$
+ getClass().getName()); + getClass().getName());
} }
} }
@ -530,7 +530,7 @@ public class IndexDiff {
+ smw.getPath()); + smw.getPath());
} }
Repository subRepo = smw.getRepository(); Repository subRepo = smw.getRepository();
ObjectId subHead = subRepo.resolve("HEAD"); ObjectId subHead = subRepo.resolve("HEAD"); //$NON-NLS-1$
if (subHead != null && !subHead.equals(smw.getObjectId())) if (subHead != null && !subHead.equals(smw.getObjectId()))
modified.add(smw.getPath()); modified.add(smw.getPath());
else if (ignoreSubmoduleMode != IgnoreSubmoduleMode.DIRTY) { else if (ignoreSubmoduleMode != IgnoreSubmoduleMode.DIRTY) {

Loading…
Cancel
Save