Skip to content

Commit

Permalink
chore: update SuppressWarnings module in sun_checks.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
YukinaMochizuki committed Aug 17, 2024
1 parent 6e7f8de commit 81425e0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion sun_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,16 @@
<!-- </module> -->

<module name="TreeWalker">
<module name="SuppressWarnings"/>
<module name="SuppressWarnings">
<property name="format"
value="^unchecked$|^unused$"/>
<property name="tokens"
value="
CLASS_DEF,INTERFACE_DEF,ENUM_DEF,
ANNOTATION_DEF,ANNOTATION_FIELD_DEF,
ENUM_CONSTANT_DEF,METHOD_DEF,CTOR_DEF
"/>
</module>

<!-- Checks for Javadoc comments. -->
<!-- See https://checkstyle.org/checks/javadoc/index.html -->
Expand Down

0 comments on commit 81425e0

Please sign in to comment.