mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
more java tests moved to community
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// "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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user