Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Improvments: remove enum static, rename fields and methods, create final static #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Code Improvments: remove enum static, rename fields and methods, create final static #46

wants to merge 1 commit into from

Conversation

zeeshanasghar
Copy link

This pull request is focused on resolving occurrences of Sonar rule
squid:S2786 Nested enum should not be declared static
squid:MissingDeprecatedCheck Deprecated elements should have both the annotation and the Javadoc tag
squid:S1845 Methods and field names should not be the same or differ only by capitalization
squid:S1170 Public constants and fields initialized at declaration should be static final rather than merely final

You can find more information about the issue here:
https://dev.eclipse.org/sonar/coding_rules#q=squid:S2786
https://dev.eclipse.org/sonar/coding_rules#q=squid:MissingDeprecatedCheck
https://dev.eclipse.org/sonar/coding_rules#q=squid:S1845
https://dev.eclipse.org/sonar/coding_rules#q=squid:S1170

Please let me know if you have any questions.

Zeeshan

squid:MissingDeprecatedCheck Deprecated elements should have both the annotation and the Javadoc tag
squid:S1845 Methods and field names should not be the same or differ only by capitalization
squid:S1170 Public constants and fields initialized at declaration should be static final rather than merely final
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.

1 participant