mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
when vfs findChild fails, don't search the same array again in vain
This commit is contained in:
+3
-1
@@ -99,7 +99,9 @@ public class VirtualDirectoryImpl extends VirtualFileSystemEntry {
|
||||
|
||||
if (result == null) {
|
||||
synchronized (myData) {
|
||||
addToAdoptedChildren(ignoreCase, name);
|
||||
if (!allChildrenLoaded()) {
|
||||
myData.addAdoptedName(name, getFileSystem().isCaseSensitive());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user