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

[java] ConstantsInInterface: Add ConstantsInInterface rule. Effective Java, 19 #93

Merged
merged 2 commits into from May 21, 2016

Conversation

jsotuyod
Copy link
Member

@jsotuyod jsotuyod commented May 20, 2016

Implemented a new rule to enforce Effective Java, item 19. Constants in interface.

It can be absoutely strict, not allowing fields on interfaces, or relaxed (default), to just not alllow interfaces consisting solely of constants; which better matches the Effective Java definition.

@adangel
Copy link
Member

adangel commented May 21, 2016

Awesome, thanks!

@adangel adangel merged commit 007f9b3 into pmd:master May 21, 2016
@jsotuyod jsotuyod deleted the constant-interface branch June 8, 2016 22:38
@adangel adangel changed the title Add ConstantsInInterface rule. Effective Java, 19 [java] ConstantsInInterface: Add ConstantsInInterface rule. Effective Java, 19 Jun 25, 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.

None yet

2 participants