preserve comments: surround with auto-closeable

This commit is contained in:
Anna.Kozlova
2017-12-04 12:57:44 +01:00
parent 7413fddf5f
commit 7d71f6f236
4 changed files with 29 additions and 3 deletions
@@ -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();
}
}