move members: qualify moved string switch labels on constant move (IDEA-109272)

This commit is contained in:
Anna Kozlova
2013-06-20 13:37:11 +04:00
parent 2e3b26f10c
commit 51d1724196
6 changed files with 27 additions and 1 deletions
@@ -0,0 +1,3 @@
public class A {
public static final String ONE = "";
}
@@ -0,0 +1,8 @@
public class B {
void foo(String s) {
switch (i) {
case A.ONE :
break;
}
}
}