Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Multiple code improvements - squid:S1213, squid:S1210, squid:S1873, squid:S2386, squid:UselessParenthesesCheck, squid:S1155 #29

Merged
merged 1 commit into from May 7, 2016
Merged

Multiple code improvements - squid:S1213, squid:S1210, squid:S1873, squid:S2386, squid:UselessParenthesesCheck, squid:S1155 #29

merged 1 commit into from May 7, 2016

Conversation

georgekankava
Copy link
Contributor

This pull request is focused on resolving occurrences of Sonar rules
squid:S1213 - The members of an interface declaration or class should appear in a pre-defined order.
squid:S1210 - "equals(Object obj)" should be overridden along with the "compareTo(T obj)" method.
squid:S1873 - "static final" arrays should be "private".
squid:S2386 - Mutable fields should not be "public static".
squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding.
squid:S1155 - Collection.isEmpty() should be used to test for emptiness.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1213
https://dev.eclipse.org/sonar/rules/show/squid:S1210
https://dev.eclipse.org/sonar/rules/show/squid:S1873
https://dev.eclipse.org/sonar/rules/show/squid:S2386
https://dev.eclipse.org/sonar/rules/show/squid:UselessParenthesesCheck
https://dev.eclipse.org/sonar/rules/show/squid:S1155
Please let me know if you have any questions.
George Kankava

…quid:S2386, squid:UselessParenthesesCheck, squid:S1155
@c-rack c-rack merged commit 3f48a4d into zeromq:master May 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants