mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 13:50:53 +07:00
18 lines
422 B
Java
18 lines
422 B
Java
import java.io.File;
|
|
import java.io.FileInputStream;
|
|
import java.io.IOException;
|
|
|
|
class C {
|
|
void m(File file) throws IOException {
|
|
String s;
|
|
try (FileInputStream fileInputStream = new FileInputStream(file)) {
|
|
//Non-NLS
|
|
s = "initial value";
|
|
s = s + fileInputStream.read();
|
|
}
|
|
s += "end";
|
|
int time = 0;
|
|
System.out.println(time);
|
|
}
|
|
}
|