Closed m-ezzat closed 8 years ago
If you make any changes for the first time in a file, please add yourself in the copyright headers section.
The check on sonar you are referencing also says that either appropriate action should be taken or a comment should be in place.
So if that changes is about enhancing code quality, and not just about scores, then there should be a comment in place. At some locations I guess even the throw can be pulled up in the default section, instead of the break.
I know that for some locations it may be hard for you to see what the default code path should do. If you have questions, let me know and will try to help you.
Closing out for now.
This pull request is focused on resolving occurrences of Sonar rule squid:SwitchLastCaseIsDefaultCheck - "switch" statements should end with a "default" clause
You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:SwitchLastCaseIsDefaultCheck
Please let me know if you have any questions.
M-Ezzat