Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/generalizeCatch/after1.java
2010-06-25 12:46:40 +04:00

16 lines
416 B
Java

// "Generalize catch for 'java.io.FileNotFoundException' to 'java.io.IOException'" "true"
import java.io.*;
public class c1 {
void f() {
FileInputStream fis = null;
try {
fis = new FileInputStream("");
DataInputStream dis = new DataInputStream(fis);
<caret>dis.readInt();
} catch (IOException e) {
e.printStackTrace();
}
}
}