AutoRefactor icon indicating copy to clipboard operation
AutoRefactor copied to clipboard

SwitchRefactoring swallows comment

Open cal101 opened this issue 7 years ago • 0 comments

     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:

cal101 avatar Jun 06 '18 12:06 cal101