inline: unwrap try-with-resources if no resources left after inline (IDEA-109541)

This commit is contained in:
Anna Kozlova
2013-06-25 20:15:28 +04:00
parent 59af6284bd
commit 95ae5e69db
5 changed files with 55 additions and 9 deletions
@@ -0,0 +1,7 @@
class Test {
void m() throws Exception {
try (AutoCloseable r2 = null) {
System.out.println(null + ", " + r2);
}
}
}