mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
cleanup, tiny optimisation
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ public class ConstructorReferencesSearchHelper {
|
||||
}
|
||||
for (PsiMethod method : constructors) {
|
||||
PsiCodeBlock body = method.getBody();
|
||||
if (body == null || method == constructor) {
|
||||
if (body == null || method == constructor && isStrictSignatureSearch) {
|
||||
continue;
|
||||
}
|
||||
PsiStatement[] statements = body.getStatements();
|
||||
|
||||
Reference in New Issue
Block a user