Allow resource variables in-place rename; Java in-place rename tests updated

This commit is contained in:
Roman Shevchenko
2011-03-01 11:42:09 +01:00
parent beab19875d
commit 8f62093a5c
11 changed files with 70 additions and 43 deletions
@@ -0,0 +1,7 @@
public class Test {
void m() throws Exception {
try (AutoCloseable <caret>r = null; AutoCloseable r2 = r) {
System.out.println(r + ", " + r2);
}
}
}