AutoRefactor
AutoRefactor copied to clipboard
SwitchRefactoring swallows comment
public void checkState(int state) {
switch (state) {
case 1:
- // ok
- break;
-
- case 2:
- case 3:
- // do not care here because it's sunday and raining and
- // ...
- // and they lived happily
+ case 2:
+ case 3:
+ // ok
break;
- case 4:
+ case 4:
case 5:
case 6:
default: