mgolokhov / dodroid

May the knowledge be with you!
MIT License
20 stars 12 forks source link

Multiple code improvements - squid:SwitchLastCaseIsDefaultCheck, squid:UselessParenthesesCheck, squid:S1132 #90

Closed georgekankava closed 8 years ago

georgekankava commented 8 years ago

This pull request is focused on resolving occurrences of Sonar rules squid:SwitchLastCaseIsDefaultCheck - "switch" statements should end with a "default" clause. squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding. squid:S1132 - Strings literals should be placed on the left side when checking for equality. This pull request removes technical debt of 36 minutes. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:SwitchLastCaseIsDefaultCheck https://dev.eclipse.org/sonar/rules/show/squid:UselessParenthesesCheck https://dev.eclipse.org/sonar/rules/show/squid:S1132 Please let me know if you have any questions. George Kankava