Skip to content

multiple code improvements: squid:S1192, squid:SwitchLastCaseIsDefaultCheck, squid:S1213, squid:S00122, squid:UselessParenthesesCheck#68

Merged
bodewig merged 1 commit into
xmlunit:masterfrom
DevFactory:release/multiple-code-improvements-fix-4
Mar 18, 2016
Merged

multiple code improvements: squid:S1192, squid:SwitchLastCaseIsDefaultCheck, squid:S1213, squid:S00122, squid:UselessParenthesesCheck#68
bodewig merged 1 commit into
xmlunit:masterfrom
DevFactory:release/multiple-code-improvements-fix-4

Conversation

@georgekankava

Copy link
Copy Markdown

This pull request is focused on resolving occurrences of Sonar rules
squid:S1192 String literals should not be duplicated.
squid:SwitchLastCaseIsDefaultCheck "switch" statements should end with a "default" clause.
squid:S1213 The members of an interface declaration or class should appear in a pre-defined order.
squid:S00122 Statements should be on separate lines.
squid:UselessParenthesesCheck Useless parentheses around expressions should be removed to prevent any misunderstanding.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/coding_rules#q=squid%3AS1192
https://dev.eclipse.org/sonar/coding_rules#q=squid%3ASwitchLastCaseIsDefaultCheck
https://dev.eclipse.org/sonar/coding_rules#q=squid%3AS1213
https://dev.eclipse.org/sonar/coding_rules#q=squid%3AS00122
https://dev.eclipse.org/sonar/coding_rules#q=squid%3AUselessParenthesesCheck
Please let me know if you have any questions.
George Kankava

…tCheck, squid:S1213, squid:S00122, squid:UselessParenthesesCheck
@bodewig bodewig added this to the 2.1.0 milestone Mar 18, 2016
bodewig added a commit that referenced this pull request Mar 18, 2016
…ents-fix-4

multiple code improvements: squid:S1192, squid:SwitchLastCaseIsDefaultCheck, squid:S1213, squid:S00122, squid:UselessParenthesesCheck
@bodewig bodewig merged commit d459fdc into xmlunit:master Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants