mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
checkCancelled()
This commit is contained in:
@@ -162,7 +162,7 @@ public class JavaPsiFacadeImpl extends JavaPsiFacadeEx implements Disposable {
|
||||
}
|
||||
|
||||
public PsiClass findClass(@NotNull final String qualifiedName, @NotNull GlobalSearchScope scope) {
|
||||
myProgressManager.checkCanceled(); // We hope this method is being called often enough to cancel daemon processes smoothly
|
||||
ProgressManager.checkCanceled(); // We hope this method is being called often enough to cancel daemon processes smoothly
|
||||
|
||||
if (DumbService.getInstance(getProject()).isDumb()) {
|
||||
final List<PsiClass> classes = findClassesInDumbMode(qualifiedName, scope);
|
||||
|
||||
Reference in New Issue
Block a user