Files
openide/java/java-tests/testData/refactoring/safeDelete/LastResourceVariable.java
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

8 lines
170 B
Java

class ARM {
void f() {
System.out.println("before");
try (AutoCloseable <caret>r = null) {
System.out.println("inside");
}
}
}