mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
preserve comments: surround with auto-closeable
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
class C {
|
||||
void m(File file) throws IOException {
|
||||
<caret>FileInputStream fileInputStream = new FileInputStream(file);
|
||||
String s = "initial value";//Non-NLS
|
||||
String bar = s + fileInputStream.read();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user