mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
read access
This commit is contained in:
@@ -227,7 +227,12 @@ public class FormReferencesSearcher implements QueryExecutor<PsiReference, Refer
|
||||
|
||||
final GlobalSearchScope scope = GlobalSearchScope.projectScope(property.getProject()).intersectWith(globalSearchScope);
|
||||
final PsiManagerImpl manager = (PsiManagerImpl)property.getManager();
|
||||
String name = property.getName();
|
||||
String name = ApplicationManager.getApplication().runReadAction(new Computable<String>() {
|
||||
@Override
|
||||
public String compute() {
|
||||
return property.getName();
|
||||
}
|
||||
});
|
||||
if (name == null) return true;
|
||||
|
||||
manager.startBatchFilesProcessingMode();
|
||||
|
||||
Reference in New Issue
Block a user