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

squid:S2325 - "private" methods that dont access instance data should… #1048

Merged
merged 1 commit into from
Feb 14, 2016
Merged

squid:S2325 - "private" methods that dont access instance data should… #1048

merged 1 commit into from
Feb 14, 2016

Conversation

m-ezzat
Copy link

@m-ezzat m-ezzat commented Feb 5, 2016

This pull request is focused on resolving occurrences of Sonar rule squid:S2325 - "private" methods that don't access instance data should be "static"

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

Please let me know if you have any questions.

M-Ezzat

@Turini
Copy link
Member

Turini commented Feb 5, 2016

Hey @m-ezzat, thanks again for the bunch of improvements.
I'm just curious about this one, could you explain the benefits of this approach?
I did take a look on squid:s2325, but it still not clear in my mind :)

@m-ezzat
Copy link
Author

m-ezzat commented Feb 11, 2016

Hey @Turini,you're welcome, I don't think that it has more than you have read.
You can also find it in the Class Methods section. https://docs.oracle.com/javase/tutorial/java/javaOO/classvars.html

Turini added a commit that referenced this pull request Feb 14, 2016
…-dont-access-instance-data-should-be-static-fix-1

squid:S2325 - "private" methods that dont access instance data should…
@Turini Turini merged commit f190df1 into caelum:master Feb 14, 2016
@Turini
Copy link
Member

Turini commented Feb 14, 2016

great, thx again @m-ezzat

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