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 Improvement: collection itteration, invoke performance methods, remove unnecesssary constructor #40

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

Code Improvement: collection itteration, invoke performance methods, remove unnecesssary constructor #40

wants to merge 1 commit into from

Conversation

zeeshanasghar
Copy link

This pull request is focused on resolving occurrences of Sonar rule
squid:S2864 entrySet() should be iterated when both key and value are needed
findbugs:DM_NUMBER_CTOR Performance-Method invokes inefficient Number constructor; use static valueOf instead
pmd:UnnecessaryConstructor Remove all unnecessary constructor

You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S2864
https://dev.eclipse.org/sonar/coding_rules#q=findbugs:DM_NUMBER_CTOR
https://dev.eclipse.org/sonar/coding_rules#q=pmd:UnnecessaryConstructor

Please let me know if you have any questions.

Zeeshan

… needed

findbugs:DM_NUMBER_CTOR Performance-Method invokes inefficient Number constructor; use static valueOf instead
pm:UnnecessaryConstructor Remove all unnecessary constructor
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