mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
redundant throws inspection:
1. global and local inspections are merged to one 2. local inspection reports "non-final" methods (if cheap enough) IDEA-177230
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ class Test {
|
||||
abstract void call(String[] f) throws FileNotFoundException, IOException;
|
||||
}
|
||||
|
||||
void use(Target target) throws IOException {
|
||||
void use(Target target) throws <warning descr="Exception 'java.io.IOException' is never thrown in the method">IOException</warning> {
|
||||
try {
|
||||
target.call("");
|
||||
} catch (FileNotFoundException e) {
|
||||
|
||||
Reference in New Issue
Block a user