mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
16 lines
410 B
Java
16 lines
410 B
Java
// "Replace 'FileNotFoundException' with more generic 'IOException'" "true-preview"
|
|
import java.io.*;
|
|
|
|
|
|
public class c1 {
|
|
void f() {
|
|
FileInputStream fis = null;
|
|
try {
|
|
fis = new FileInputStream("");
|
|
DataInputStream dis = new DataInputStream(fis);
|
|
dis.<caret>readInt();
|
|
} catch (IOException e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
} |