mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix directory index for file-based libs
This commit is contained in:
+2
-2
@@ -431,7 +431,7 @@ public class DirectoryIndexImpl extends DirectoryIndex {
|
||||
@Override
|
||||
public boolean visitFile(@NotNull VirtualFile file) {
|
||||
if (progress != null) progress.checkCanceled();
|
||||
if (!file.isDirectory() || isIgnored(file)) return false;
|
||||
if (!file.isDirectory() && file != dir || isIgnored(file)) return false;
|
||||
|
||||
DirectoryInfo info = getOrCreateDirInfo(file);
|
||||
|
||||
@@ -477,7 +477,7 @@ public class DirectoryIndexImpl extends DirectoryIndex {
|
||||
@Override
|
||||
public boolean visitFile(@NotNull VirtualFile file) {
|
||||
if (progress != null) progress.checkCanceled();
|
||||
if (!file.isDirectory() || isIgnored(file)) return false;
|
||||
if (!file.isDirectory() && file != dir || isIgnored(file)) return false;
|
||||
|
||||
DirectoryInfo info = getOrCreateDirInfo(file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user