Skip to content

Issue #17723: add SINGLE_LINE_COMMENT handling in WhitespaceAfter check - #21577

Open
M-SaaD-H wants to merge 1 commit into
checkstyle:masterfrom
M-SaaD-H:17723
Open

Issue #17723: add SINGLE_LINE_COMMENT handling in WhitespaceAfter check#21577
M-SaaD-H wants to merge 1 commit into
checkstyle:masterfrom
M-SaaD-H:17723

Conversation

@M-SaaD-H

@M-SaaD-H M-SaaD-H commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Issue : #17723

Fix WhitespaceAfter to correctly handle whitespace after // in single-line comments.

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need diff testing for default config, there should be no changes.

items:


public class InputWhitespaceAfterSingleLineComment {
// violation below ''//' is not followed by whitespace.'
//invalid

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add all from issue description.
to be sure that all that author referenced are addressed.

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.

2 participants