mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't parse DOM files to load non-indexed stubs (IDEA-193127)
This commit is contained in:
@@ -113,7 +113,7 @@ class FileDescriptionCachedValueProvider<T extends DomElement> implements SemEle
|
||||
if (description.hasStubs() && file instanceof VirtualFileWithId && !isFileParsed()) {
|
||||
ApplicationManager.getApplication().assertReadAccessAllowed();
|
||||
if (!XmlUtil.isStubBuilding()) {
|
||||
ObjectStubTree stubTree = StubTreeLoader.getInstance().readOrBuild(myXmlFile.getProject(), file, myXmlFile);
|
||||
ObjectStubTree stubTree = StubTreeLoader.getInstance().readFromVFile(myXmlFile.getProject(), file);
|
||||
if (stubTree != null) {
|
||||
stub = (FileStub)stubTree.getRoot();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user