mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Allow to override isInContent in Rider index components
GitOrigin-RevId: a5112079b19af44699512e7df6aceb74e92e32d7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d3ec7993e6
commit
6ea1300552
@@ -108,7 +108,7 @@ abstract class FileIndexBase implements FileIndex {
|
||||
ModuleRootManager.getInstance(module).getSourceRoots()};
|
||||
}
|
||||
|
||||
boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
|
||||
protected boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
|
||||
return ProjectFileIndexImpl.isFileInContent(file, info);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -189,7 +189,7 @@ public class ModuleFileIndexImpl extends FileIndexBase implements ModuleFileInde
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
|
||||
protected boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
|
||||
return ProjectFileIndexImpl.isFileInContent(file, info) && myModule.equals(info.getModule());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user