when vfs findChild fails, don't search the same array again in vain

This commit is contained in:
peter
2015-05-28 17:10:42 +02:00
parent 4f807b30c1
commit 4b589649c8
@@ -99,7 +99,9 @@ public class VirtualDirectoryImpl extends VirtualFileSystemEntry {
if (result == null) {
synchronized (myData) {
addToAdoptedChildren(ignoreCase, name);
if (!allChildrenLoaded()) {
myData.addAdoptedName(name, getFileSystem().isCaseSensitive());
}
}
}