mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
21 lines
303 B
Java
21 lines
303 B
Java
import java.io.*;
|
|
|
|
class Foo {
|
|
|
|
public void read() {
|
|
try {
|
|
final FileInputStream input = new FileInputStream(new File("foo"));
|
|
try {
|
|
}
|
|
finally {
|
|
input.close();
|
|
}
|
|
}
|
|
catch (FileNotFoundException ignored) {
|
|
}
|
|
catch (IOException e) {
|
|
}
|
|
}
|
|
|
|
|
|
} |