extract class: do not qualify enums in switches (IDEA-76587 )

This commit is contained in:
anna
2011-11-13 20:57:13 +01:00
parent d1807e4fcf
commit 2574a0649c
5 changed files with 41 additions and 1 deletions
@@ -0,0 +1,16 @@
public class Test {
static void foo(Test t) {
switch (p) {
case FRED:
break;
case GEORGE:
break;
}
}
}
enum Person {
FRED, GEORGE;
}