Skip to content

Commit 5681b03

Browse files
committed
Issue sevntu-checkstyle#464: Add reference to ArrayTrailingComma
1 parent 9d9f851 commit 5681b03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/EnumTrailingCommaCheck.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
* Checks if enum constant contains an optional trailing comma.
2828
*
2929
* <p>Rationale: Putting this comma in makes is easier to change the order of the elements or add
30-
* new elements at the end of the list.
30+
* new elements at the end of the list. This is similar to
31+
* <a href="https://checkstyle.org/config_coding.html#ArrayTrailingComma">ArrayTrailingComma</a>.
3132
*
3233
* <p>The following is a normal enum type declaration:
3334
* <pre>

0 commit comments

Comments
 (0)