mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dont throw IllegalStateException on index access in dumb mode
GitOrigin-RevId: e6f0c7a732608bba142c3f295563d35986767aad
This commit is contained in:
committed by
intellij-monorepo-bot
parent
747b08812b
commit
3e751e0af4
@@ -2657,7 +2657,8 @@ public final class FileBasedIndexImpl extends FileBasedIndex {
|
||||
|
||||
DumbModeAccessType dumbModeAccessType = getCurrentDumbModeAccessType();
|
||||
if (dumbModeAccessType == null) {
|
||||
throw new IllegalStateException("index access is not allowed in dumb mode");
|
||||
//throw new IllegalStateException("index access is not allowed in dumb mode");
|
||||
return f -> true;
|
||||
}
|
||||
|
||||
if (dumbModeAccessType == DumbModeAccessType.RAW_INDEX_DATA_ACCEPTABLE) return f -> true;
|
||||
|
||||
Reference in New Issue
Block a user