mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't check resources with filtered=false.
This commit is contained in:
@@ -310,10 +310,12 @@ public class MavenDomUtil {
|
||||
if (file == null) return false;
|
||||
|
||||
for (MavenResource each : project.getResources()) {
|
||||
if (!each.isFiltered()) continue;
|
||||
|
||||
VirtualFile resourceDir = LocalFileSystem.getInstance().findFileByPath(each.getDirectory());
|
||||
if (resourceDir == null) continue;
|
||||
if (!VfsUtil.isAncestor(resourceDir, file, true)) continue;
|
||||
return each.isFiltered();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user