Files
openide/java/java-tests/testData/refactoring/inlineLocal/ResourceVariable.java.after
Anna Kozlova d138577fe1 last resource delete from try-with-resources(IDEA-145803)
ensure that psi remain correct, automatically resolve conflict with variables declared after the try-with-resources stmt
2018-02-01 13:40:05 +03:00

7 lines
140 B
Plaintext

class Test {
void m() throws Exception {
try (AutoCloseable r2 = null) {
System.out.println(null + ", " + r2);
}
}
}