mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
IDEA-58633 ("Declaration Redundancy" inspection misses implicit constructor super() calls)
This commit is contained in:
@@ -306,7 +306,7 @@ public class RefMethodImpl extends RefJavaElementImpl implements RefMethod {
|
||||
final PsiCodeBlock body = method.getBody();
|
||||
if (body == null) return;
|
||||
|
||||
final Collection<PsiClassType> exceptionTypes = ExceptionUtil.collectUnhandledExceptions(method, body);
|
||||
final Collection<PsiClassType> exceptionTypes = ExceptionUtil.collectUnhandledExceptions(body, method);
|
||||
for (final PsiClassType exceptionType : exceptionTypes) {
|
||||
updateThrowsList(exceptionType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user