AvoidModifiersForTypes throws Exception while processing modifier token which has type LITERAL_PRIVATE #410
Milestone
Comments
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 19, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 19, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 23, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 23, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 23, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 24, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 24, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Jan 27, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 1, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 19, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 19, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 19, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 20, 2016
…h LITERAL_PRIVATE modifiers
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 20, 2016
…difiersForTypesCheck
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 20, 2016
…difiersForTypesCheck
yaziza
added a commit
to yaziza/sevntu.checkstyle
that referenced
this issue
Mar 20, 2016
…difiersForTypesCheck
romani
added a commit
that referenced
this issue
Mar 20, 2016
romani
added a commit
that referenced
this issue
Mar 20, 2016
Issue #410: Update default configuration for AvoidModifiersForTypesCheck
fix is merged. |
@yaziza , your update is released, please enforce it over checkstyle code - checkstyle/checkstyle#3064 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AvoidModifiersForTypes throws Exception while processing modifier token which has type LITERAL_PRIVATE. The problem is appeared due to the fact that the check does not take into account LITERAL_PRIVATE modifier of the variable.
See
sevntu.checkstyle/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/AvoidModifiersForTypesCheck.java
Line 156 in 81a2cf9
Configuration:
Input file: https://github.com/checkstyle/checkstyle/blob/e8475b41261f724128c869b4de371713d86228c3/src/main/java/com/puppycrawl/tools/checkstyle/PackageObjectFactory.java
SevNTU Checkstyle 1.17.1 output:
The text was updated successfully, but these errors were encountered: