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 18, 2024
1 parent ede3c18 commit 2b94443
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions sun_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,9 @@
<!-- <property name="headerFile" value="${checkstyle.header.file}"/> -->
<!-- <property name="fileExtensions" value="java"/> -->
<!-- </module> -->

<module name="SuppressWarningsFilter" />
<module name="TreeWalker">
<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>
<module name="SuppressWarningsHolder" />

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

0 comments on commit 2b94443

Please sign in to comment.