mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
Allow resource variables in-place rename; Java in-place rename tests updated
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
public class Test {
|
||||
int myI;
|
||||
void foo(int i){
|
||||
myI = i;
|
||||
void foo(int pp){
|
||||
myI = pp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
public class Test {
|
||||
int myI;
|
||||
void foo(int i){
|
||||
myI = i;
|
||||
void foo(int pp){
|
||||
myI = pp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class Test {
|
||||
int myI;
|
||||
void foo(int i){
|
||||
myI = i;
|
||||
void foo(int myI){
|
||||
this.myI = myI;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
void m() throws Exception {
|
||||
try (AutoCloseable <caret>r = null; AutoCloseable r2 = r) {
|
||||
System.out.println(r + ", " + r2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
void m() throws Exception {
|
||||
try (AutoCloseable <caret>r = null; AutoCloseable r2 = r) {
|
||||
System.out.println(r + ", " + r2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
void m() throws Exception {
|
||||
try (AutoCloseable r1 = null; AutoCloseable r2 = r1) {
|
||||
System.out.println(r1 + ", " + r2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
void m() throws Exception {
|
||||
try (AutoCloseable r1 = null; AutoCloseable r2 = r1) {
|
||||
System.out.println(r1 + ", " + r2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user