Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/methodThrows/before2.java
Dmitry Batkovich 52cf50c461 redundant throws inspection:
1. global and local inspections are merged to one
2. local inspection reports "non-final" methods (if cheap enough) IDEA-177230
2017-08-09 12:14:26 +03:00

14 lines
162 B
Java

// "Add 'IOException' to 'a.f' throws list" "true"
import java.io.*;
class a {
void f() {
}
}
class b extends a {
void f() throws <caret>IOException {
}
}