Add UniformEnumValueNameCheck #445
Closed
Milestone
Comments
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
Mar 24, 2016
Thanks a lot.
https://docs.oracle.com/javase/specs/jls/se7/html/jls-8.html#jls-8.9 "EnumConstant" ! We follow jdk names as much as possible.
logic should be simple but looks very complicated. Need to be re-factored to be a might be less efficient but friendly for human. please make it like:
https://docs.oracle.com/javase/7/docs/api/java/util/BitSet.html#cardinality%28%29 such update will resolve extra "return" and extra "continue". I need separate PR for gh-pages branch, https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/List-of-files-that-need-to-be-updated-for-new-field-or-new-Check-implementation |
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
Apr 13, 2016
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
Apr 13, 2016
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
Apr 13, 2016
…eckstyle confituration
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
Apr 14, 2016
…eckstyle confituration
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
Apr 29, 2016
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
Apr 29, 2016
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
May 19, 2016
pbaranchikov
added a commit
to pbaranchikov/sevntu.checkstyle
that referenced
this issue
May 20, 2016
romani
added a commit
that referenced
this issue
Jun 5, 2016
fix is merged. |
romani
added a commit
that referenced
this issue
Jun 5, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This check should accept multiple regular expressions for enum values and validate names to conform certain conventions but only one convention in one enum.
The text was updated successfully, but these errors were encountered: