Skip to content

Commit

Permalink
update checkstyle.xml (#773)
Browse files Browse the repository at this point in the history
add suppresswarnings filter
  • Loading branch information
xwm1992 authored Feb 17, 2022
1 parent e051d58 commit ba01590
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion style/checkStyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<property name="charset" value="UTF-8"/>
<property name="severity" value="warning"/>
<property name="fileExtensions" value="java, properties, xml, gradle"/>

<module name="SuppressWarningsFilter" />
<module name="RegexpSingleline">
<property name="format" value="System\..+\.println"/>
<property name="message" value="Prohibit invoking System.*.println in source code !"/>
Expand Down Expand Up @@ -59,6 +59,7 @@
</module>

<module name="TreeWalker">
<module name="SuppressWarningsHolder" />
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
Expand Down

0 comments on commit ba01590

Please sign in to comment.