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 quality fix - Redundant modifiers should not be used. #16

Merged
merged 1 commit into from
Jun 27, 2016
Merged

Code quality fix - Redundant modifiers should not be used. #16

merged 1 commit into from
Jun 27, 2016

Conversation

faisal-hameed
Copy link
Contributor

This pull request is focused on resolving occurrences of Sonar rule
squid:S2333 - Redundant modifiers should not be used.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S2333

Please let me know if you have any questions.

Faisal Hameed

@mielvds
Copy link
Member

mielvds commented Jun 27, 2016

Why are they redundant? I prefer protected in this case

@faisal-hameed
Copy link
Contributor Author

@mielvds Because interfaces can only have public methods so there is no need to use public keyword. You can't use protected in interface.

@mielvds
Copy link
Member

mielvds commented Jun 27, 2016

whops, of course, thought this was about classes.

@mielvds mielvds merged commit cc0f294 into rdfhdt:master Jun 27, 2016
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