mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
14 lines
323 B
Java
14 lines
323 B
Java
import java.io.FileInputStream;
|
|
import java.io.IOException;
|
|
import java.nio.channels.FileChannel;
|
|
|
|
class C {
|
|
void m(File file) throws IOException {
|
|
<caret>FileInputStream stream = new FileInputStream(file);
|
|
int x;
|
|
FileChannel ch = stream.getChannel();
|
|
ch.close();
|
|
x = 0;
|
|
}
|
|
}
|