redundant exception: ignore recursive calls (IDEA-157773)

This commit is contained in:
Anna Kozlova
2016-06-22 17:58:08 +03:00
parent dd61f64dcc
commit 4f45f25c38
3 changed files with 19 additions and 1 deletions
@@ -0,0 +1,9 @@
// "Remove 'java.io.IOException' from 'f' throws list" "true"
import java.io.*;
class a {
private void f() <caret>{
if (false) f();
}
}
@@ -0,0 +1,9 @@
// "Remove 'java.io.IOException' from 'f' throws list" "true"
import java.io.*;
class a {
private void f() throws <caret>IOException {
if (false) f();
}
}