-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
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