Skip to content

Use violation message pattern 'first line' #20356

Closed

Description

@romani

After #20340

We need to find all places where we used multi line comments to show user in xdoc section that violation if on first air last line.
And use new pattern.

Example of required update 473c007#diff-54966c72c0e695dae0485ab234974f067c9157747f8224fca0ce07051aa14ec2R6

Activity

  1. romani commented on Jun 16, 2026

    @romani
    MemberAuthor

    @smita1078 , please help to migrate existing examples

  2. smita1078 commented on Jun 16, 2026

    @smita1078
    Member

    Sure

  3. added a commit that references this issue on Jun 25, 2026
  4. romani commented on Jun 25, 2026

    @romani
    MemberAuthor

    @smita1078 , #20439 (comment) please do update in scope of this issue.

  5. added this to the 13.7.0 milestone on Jun 25, 2026
  6. romani commented on Jun 25, 2026

    @romani
    MemberAuthor

    @smita1078 , I think we can search like https://github.com/search?q=repo%3Acheckstyle%2Fcheckstyle%20%22%2F*%20violation%22&type=code to see what is left.

    Unfortunately I see a bit more of such bad pattern.

    In separate PR please change /* violation */ to /* bla */ to make search empty.

    And we can close this ticket.

  7. added a commit that references this issue on Jun 26, 2026
  8. added a commit that references this issue on Jun 27, 2026
  9. romani commented on Jun 27, 2026

    @romani
    MemberAuthor

    fix is merged !!!!

    @smita1078 , thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions