overriding method search: remove costly and completely useless check

This commit is contained in:
peter
2016-04-23 18:59:51 +02:00
parent b9ec9bb6a1
commit e9801d81e3
@@ -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) &&