mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
16 lines
416 B
Java
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();
|
|
}
|
|
}
|
|
} |