Skip to content

Update Javadoc checks to avoid // violation in Javadoc comments #13969

@suniti0804

Description

@suniti0804

As identified in #11214 (comment) Javadoc checks have javadoc comments having // violation in them. We used to have this before we added support of // violation X lines below.

Now we should refactor such tests to remove // violation comment from javadoc comments.

Example of a check having this issue - JavaDocStyleCheckTest

All cases to fix:

$ grep -rl "// violation" | grep -E "*Test\.java"
src/test/java/com/puppycrawl/tools/checkstyle/internal/AllChecksTest.java
src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/IllegalTokenCheckTest.java
src/test/java/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocStyleCheckTest.java
  • IllegalTokenCheckTest
  • JavadocStyleCheckTest

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions