Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwitchRefactoring swallows comment #357

Open
cal101 opened this issue Jun 6, 2018 · 0 comments
Open

SwitchRefactoring swallows comment #357

cal101 opened this issue Jun 6, 2018 · 0 comments

Comments

@cal101
Copy link
Collaborator

cal101 commented Jun 6, 2018

     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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant