Skip to content

multiple code improvements: squid:S1197, squid:S1118, squid:S2293, squid:CommentedOutCodeLine, squid:S1481, squid:UselessParenthesesCheck#750

Merged
rfecher merged 1 commit intolocationtech:masterfrom
DevFactory:release/multiple-code-improvements-fix-1
May 6, 2016
Merged

multiple code improvements: squid:S1197, squid:S1118, squid:S2293, squid:CommentedOutCodeLine, squid:S1481, squid:UselessParenthesesCheck#750
rfecher merged 1 commit intolocationtech:masterfrom
DevFactory:release/multiple-code-improvements-fix-1

Conversation

@georgekankava
Copy link
Copy Markdown
Contributor

This pull request is focused on resolving occurrences of Sonar rules
squid:S1197 - Array designators "[]" should be on the type, not the variable.
squid:S1118 - Utility classes should not have public constructors.
squid:S2293 - The diamond operator ("<>") should be used.
squid:CommentedOutCodeLine - Sections of code should not be "commented out".
squid:S1481 - Unused local variables should be removed.
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/rules/show/squid:S1197
https://dev.eclipse.org/sonar/rules/show/squid:S1118
https://dev.eclipse.org/sonar/rules/show/squid:S2293
https://dev.eclipse.org/sonar/rules/show/squid:CommentedOutCodeLine
https://dev.eclipse.org/sonar/rules/show/squid:S1481
https://dev.eclipse.org/sonar/rules/show/squid:UselessParenthesesCheck
Please let me know if you have any questions.
George Kankava

@rfecher
Copy link
Copy Markdown
Contributor

rfecher commented May 5, 2016

thanks @georgekankava!

can you sign an eclipse foundation committer license agreement: https://eclipse.org/legal/#CommitterAgreements

on the left there is a link to "Sign" but it requires you to create an account.

@georgekankava
Copy link
Copy Markdown
Contributor Author

Hello, I've signed, eclipse foundation committer license agreement.

…id:CommentedOutCodeLine, squid:S1481,squid:UselessParenthesesCheck
@rfecher rfecher merged commit c7429a9 into locationtech:master May 6, 2016
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

Successfully merging this pull request may close these issues.

2 participants