Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

False positive with GenericWhitespace - InnerClass #51

Closed
romani opened this Issue · 1 comment

2 participants

Roman Ivanov Alexey
Roman Ivanov
Owner

from SF issue: 589
http://checkstyle.sourceforge.net/config_whitespace.html#GenericWhitespace

import java.util.List;

public class CheckstyleBugs<T> {

    private List<CheckstyleBugs<? extends T>.InnerClass> field;

    public class InnerClass {
    }
}

Violation: "Multiple markers at this line
- The value of the field CheckstyleBugs.field is not
used
- '>' is followed by whitespace.
"

Expected: no violations.

Alexey alexkravin was assigned by romani
Alexey alexkravin referenced this issue from a commit in alexkravin/checkstyle
Alexey alexkravin Fixed false-positive in GenericWhitespaceCheck issue #51 6a583bf
Alexey alexkravin referenced this issue from a commit in alexkravin/checkstyle
Alexey alexkravin Fixed false-positive in GenericWhitespaceCheck issue #51 657babd
Alexey alexkravin referenced this issue from a commit in alexkravin/checkstyle
Alexey alexkravin Fixed false-positive in GenericWhitespaceCheck issue #51 4bf0522
Alexey alexkravin referenced this issue from a commit in alexkravin/checkstyle
Alexey alexkravin Fixed false-positive in GenericWhitespaceCheck issue #51 c2faee7
Roman Ivanov
Owner

will be released in 6.2

Roman Ivanov romani closed this
Michał Kordas mkordas referenced this issue from a commit in mkordas/checkstyle
Alexey alexkravin Fixed false-positive in GenericWhitespaceCheck issue #51 001b574
Michał Kordas mkordas referenced this issue from a commit in mkordas/checkstyle
Alexey alexkravin Fixed false-positive in GenericWhitespaceCheck issue #51 79888b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.