mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use project file filtering more often
This commit is contained in:
@@ -986,7 +986,7 @@ public class FileBasedIndex implements ApplicationComponent {
|
||||
}
|
||||
|
||||
public @Nullable ProjectIndexableFilesFilter projectIndexableFiles(Project project) {
|
||||
if (project == null || HeavyProcessLatch.INSTANCE.isRunning()) return null;
|
||||
if (project == null) return null;
|
||||
|
||||
SoftReference<ProjectIndexableFilesFilter> reference = project.getUserData(ourProjectFilesSetKey);
|
||||
ProjectIndexableFilesFilter data = reference != null ? reference.get() : null;
|
||||
|
||||
Reference in New Issue
Block a user