mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[java] overriding search: return false if search was canceled by consumer
GitOrigin-RevId: 02c4f24580e4eae58b49d28a055630735d25ae0e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e2bea456d2
commit
b6571d42d7
@@ -56,7 +56,10 @@ public class JavaOverridingMethodsSearcher implements QueryExecutor<PsiMethod, O
|
||||
if (!ReadAction.compute(() -> PsiSearchScopeUtil.isInScope(searchScope, subMethod))) {
|
||||
continue;
|
||||
}
|
||||
if (!consumer.process(subMethod) || !parameters.isCheckDeep()) {
|
||||
if (!consumer.process(subMethod)) {
|
||||
return false;
|
||||
}
|
||||
if (!parameters.isCheckDeep()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user