-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GenericWhitespace Check ignores exception to the ">" rule for succeeding whitespaces #14344
Comments
sktpy
changed the title
GenericWhiteSpace Check fails exception to ">" not being followed by whitespace
GenericWhitespace Check fails exception to ">" not being followed by whitespace
Jan 24, 2024
sktpy
changed the title
GenericWhitespace Check fails exception to ">" not being followed by whitespace
GenericWhitespace Check fails exception to the ">" rule for succeeding whitespaces
Jan 24, 2024
sktpy
changed the title
GenericWhitespace Check fails exception to the ">" rule for succeeding whitespaces
GenericWhitespace Check ignores exception to the ">" rule for succeeding whitespaces
Jan 24, 2024
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I am on it |
sktpy
added a commit
to sktpy/checkstyle
that referenced
this issue
Feb 17, 2024
…n to the '>' rule for succeeding whitespaces
sktpy
added a commit
to sktpy/checkstyle
that referenced
this issue
Feb 18, 2024
…n to the '>' rule for succeeding whitespaces
sktpy
added a commit
to sktpy/checkstyle
that referenced
this issue
Feb 19, 2024
…n to the '>' rule for succeeding whitespaces
sktpy
added a commit
to sktpy/checkstyle
that referenced
this issue
Feb 19, 2024
…n to the '>' rule for succeeding whitespaces
sktpy
added a commit
to sktpy/checkstyle
that referenced
this issue
Feb 19, 2024
…n to the '>' rule for succeeding whitespaces
sktpy
added a commit
to sktpy/checkstyle
that referenced
this issue
Feb 21, 2024
…n to the '>' rule for succeeding whitespaces
aye-nyeinSan
added a commit
to aye-nyeinSan/checkstyle
that referenced
this issue
Feb 23, 2024
Issue checkstyle#14396: Made changes to pom.xml and checker-framework.groovy to fail execution if report generation fails Issue checkstyle#14344: Fix GenericWhitespace Check ignoring exception to the '>' rule for succeeding whitespaces Pull checkstyle#14503: improve text block grammar Issue checkstyle#13213: Remove '//ok' comments from input files Issue checkstyle#13213: Remove '//ok' comments from input files Issue checkstyle#13213: Remove '//ok' comments from input files
kalpadiptyaroy
pushed a commit
to kalpadiptyaroy/checkstyle
that referenced
this issue
Feb 27, 2024
…n to the '>' rule for succeeding whitespaces
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Detected at #14341.
Affects PR #14364
(Documentation)
Test.java
config.xml
Actual:
Expected: violation on line 5.
Test.java:5:26: '>' is followed by whitespace. [GenericWhitespace]
Explanation:
>
) should not be followed by whitespace for diamond operators and when preceding method name or constructor.List a = new ArrayList<> ();
the right angle bracket (>
) precedes the constructor, and is also part of the diamond operator (<>
), hence shouldn't be followed by the whitespace.The text was updated successfully, but these errors were encountered: