mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-39358 - INRE: FileBasedIndex.handleDumbMode
This commit is contained in:
@@ -61,13 +61,17 @@ public final class TodoFileNode extends PsiFileNode implements HighlightedRegion
|
||||
}
|
||||
|
||||
public Collection<AbstractTreeNode> getChildrenImpl() {
|
||||
if (!mySingleFileMode) {
|
||||
return createGeneralList();
|
||||
} else {
|
||||
return createListForSingleFile();
|
||||
|
||||
try {
|
||||
if (!mySingleFileMode) {
|
||||
return createGeneralList();
|
||||
} else {
|
||||
return createListForSingleFile();
|
||||
|
||||
}
|
||||
}
|
||||
catch (IndexNotReadyException e) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private Collection<AbstractTreeNode> createListForSingleFile() {
|
||||
|
||||
Reference in New Issue
Block a user