preserve comments: surround with auto-closeable

This commit is contained in:
Anna.Kozlova
2017-11-27 18:05:19 +01:00
parent fedf575124
commit 6d20d8614a
5 changed files with 11 additions and 9 deletions
@@ -2,6 +2,7 @@ import java.io.*;
class C {
void m(File file) throws IOException {
//comment after expr
try (FileInputStream fileInputStream = new FileInputStream(file)) {
}
}