-
Notifications
You must be signed in to change notification settings - Fork 13
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
sonar:AddCurlyBrackets duplicates code inside a switch statement. #3
Comments
Yes, in fact I am working on it right now :). It is true! I will send a new update during this week. |
hey thanks! |
@rpau , I too facing the some issues with switch statement when using transformation : sonar:AddCurlyBrackets. Could you please help ? Regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Applying the transformation to a piece of code with a switch condition does not wrap up the whole code inside a case and duplicates the non-wrapped code inside the braces, effectively producing compilation errors (see attached screenshot)
The text was updated successfully, but these errors were encountered: