-
Notifications
You must be signed in to change notification settings - Fork 3
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
Remove redundant modifiers from fields within interfaces #24
Comments
|
@jglick |
Yup, anything inside an interface is implicitly |
So it would be better to create an errorhint when there is no public BTW 90% guess there is already such a hint in findbugs
|
Maybe, but my thought was that having a hint to remove such modifiers as redundant would suffice to drill it into programmers’ minds that it is implicit. Like you until now, I had no idea that the Java compiler would add an implicit |
Note for myself: Need to merge b25ab47 |
Already merged. Closing. 1.2 |
Reported by https://netbeans.org/bugzilla/show_bug.cgi?id=184673#c5
‘public’ and/or ‘static’ on nested classes.
The text was updated successfully, but these errors were encountered: