Skip to content

multiple code improvements: squid:S1192, squid:S1118, squid:S1066, squid:S1854, squid:S2864#34

Merged
adangel merged 1 commit intoadangel:masterfrom
DevFactory:release/multiple-code-improvements-fix-1
May 20, 2016
Merged

multiple code improvements: squid:S1192, squid:S1118, squid:S1066, squid:S1854, squid:S2864#34
adangel merged 1 commit intoadangel:masterfrom
DevFactory:release/multiple-code-improvements-fix-1

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:S1118 - Utility classes should not have public constructors.
squid:S1066 - Collapsible "if" statements should be merged.
squ id:S1854 - Dead stores should be removed.
squid:S2864 - "entrySet()" should be iterated when both the key and value are needed.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1192
https://dev.eclipse.org/sonar/rules/show/squid:S1118
https://dev.eclipse.org/sonar/rules/show/squid:S1066
https://dev.eclipse.org/sonar/rules/show/squid:S1854
https://dev.eclipse.org/sonar/rules/show/squid:S2864
Please let me know if you have any questions.
George Kankava

@adangel adangel merged commit ae078e7 into adangel:master May 20, 2016
@adangel
Copy link
Copy Markdown
Owner

adangel commented May 20, 2016

Thanks!

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