mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
move members: qualify moved string switch labels on constant move (IDEA-109272)
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
public class A {
|
||||
public static final String ONE = "";
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public class B {
|
||||
void foo(String s) {
|
||||
switch (i) {
|
||||
case A.ONE :
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public class A {
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public class B {
|
||||
public static final String ONE = "";
|
||||
void foo(String s) {
|
||||
switch (i) {
|
||||
case ONE :
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user