mirror of https://github.com/apache/lucene.git
guard this check to only detect files (or convertRelative goes AIOOBE for .)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bd1627fa3c
commit
312b648e60
|
@ -108,9 +108,11 @@
|
||||||
} else if (status.getKind() == SVNNodeKind.FILE && nodeStatus != SVNStatusType.STATUS_DELETED) {
|
} else if (status.getKind() == SVNNodeKind.FILE && nodeStatus != SVNStatusType.STATUS_DELETED) {
|
||||||
missingProps.add(convertRelative(status.getFile()));
|
missingProps.add(convertRelative(status.getFile()));
|
||||||
}
|
}
|
||||||
if (nodeStatus == SVNStatusType.STATUS_MODIFIED || nodeStatus == SVNStatusType.STATUS_REPLACED ||
|
if (status.getKind() == SVNNodeKind.FILE) {
|
||||||
nodeStatus == SVNStatusType.STATUS_DELETED || nodeStatus == SVNStatusType.STATUS_ADDED) {
|
if (nodeStatus == SVNStatusType.STATUS_MODIFIED || nodeStatus == SVNStatusType.STATUS_REPLACED ||
|
||||||
changed.add(convertRelative(status.getFile()));
|
nodeStatus == SVNStatusType.STATUS_DELETED || nodeStatus == SVNStatusType.STATUS_ADDED) {
|
||||||
|
changed.add(convertRelative(status.getFile()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} as ISVNStatusHandler, null);
|
} as ISVNStatusHandler, null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue