mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
overriding method search: remove costly and completely useless check
This commit is contained in:
-2
@@ -59,8 +59,6 @@ public class JavaAllOverridingMethodsSearcher implements QueryExecutor<Pair<PsiM
|
||||
|
||||
for (String name : potentials.keySet()) {
|
||||
ProgressManager.checkCanceled();
|
||||
if (inheritor.findMethodsByName(name, true).length == 0) continue;
|
||||
|
||||
for (PsiMethod superMethod : potentials.get(name)) {
|
||||
ProgressManager.checkCanceled();
|
||||
if (superMethod.hasModifierProperty(PsiModifier.PACKAGE_LOCAL) &&
|
||||
|
||||
Reference in New Issue
Block a user