mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ProjectFileIndexImpl: simplify condition by reusing the method.
GitOrigin-RevId: 6291ee7e802641ff3dcc4eabf2453f5390e66d74
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d547189be6
commit
79251d89cf
+1
-2
@@ -72,8 +72,7 @@ public class ProjectFileIndexImpl extends FileIndexBase implements ProjectFileIn
|
||||
|
||||
VirtualFile parent = root.getParent();
|
||||
if (parent != null) {
|
||||
DirectoryInfo parentInfo = getInfoForFileOrDirectory(parent);
|
||||
if (isFileInContent(parent, parentInfo)) {
|
||||
if (isInContent(parent)) {
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user