mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
Cheaper ProgressManager.checkCanceled(). Mostly, it's call to abstract method eliminated.
This commit is contained in:
@@ -204,7 +204,7 @@ public class ClassInheritorsSearch extends ExtensibleQueryFactory<PsiClass, Clas
|
||||
stack.push(baseClass);
|
||||
final GlobalSearchScope scope = GlobalSearchScope.allScope(baseClass.getProject());
|
||||
while (!stack.isEmpty()) {
|
||||
ProgressManager.getInstance().checkCanceled();
|
||||
ProgressManager.checkCanceled();
|
||||
|
||||
final PsiClass psiClass = stack.pop();
|
||||
if (!processed.add(psiClass)) continue;
|
||||
|
||||
Reference in New Issue
Block a user