IDEA-58633 ("Declaration Redundancy" inspection misses implicit constructor super() calls)

This commit is contained in:
Bas Leijdekkers
2010-10-28 17:26:56 +02:00
parent 0640fe4093
commit a0d0b5c2b8
@@ -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);
}