Fix non-externalized string warnings in IndexDiff
Change-Id: Ia803182114f0e8b418428e03601f9afc6542ed28 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
5328c8c916
commit
d8fcc964a8
|
@ -232,7 +232,7 @@ public boolean include(TreeWalk walker)
|
||||||
@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 boolean diff(final ProgressMonitor monitor, int estWorkTreeSize,
|
||||||
+ 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…
Reference in New Issue