Skip to content
Permalink
Browse files
Updated checkstyle to support @SuppressWarnings as well as ability to…
… turn on/off specific tests
  • Loading branch information
dkulp committed Feb 9, 2015
1 parent b3cb666 commit af00664550bdbf8f0e2fb4f817bc59fd2da05d99
Showing 1 changed file with 13 additions and 1 deletion.
@@ -31,6 +31,8 @@
-->

<module name="Checker">
<property name="severity" value="error"/>

<!-- Checks whether files end with a new line. -->
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
<!--
@@ -279,8 +281,18 @@
<property name="lineWrappingIndentation" value="0"/>
</module>
<!--<module name="RequiredRegexp">-->
<module name="SuppressWarningsHolder" />
</module>
<module name="SuppressionCommentFilter"/>
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE\:OFF"/>
<property name="onCommentFormat" value="CHECKSTYLE\:ON"/>
</module>
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE.OFF\:([\w\|]+)"/>
<property name="onCommentFormat" value="CHECKSTYLE.ON\:([\w\|]+)"/>
<property name="checkFormat" value="$1"/>
</module>
<module name="SuppressWarningsFilter"/>
<!-- Header checks -->
<module name="Header">
<property name="header"

0 comments on commit af00664

Please sign in to comment.