mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
IDEA-93289 (test)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
class C {
|
||||
void m(File file) throws IOException {
|
||||
try (FileInputStream fileInputStream = new FileInputStream(file)) {
|
||||
int read = fileInputStream.read();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user