Skip to content

Commit

Permalink
Updated checkstyle to support @SuppressWarnings as well as ability to…
Browse files Browse the repository at this point in the history
… turn on/off specific tests
  • Loading branch information
dkulp committed Feb 9, 2015
1 parent b3cb666 commit af00664
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion buildtools/src/main/resources/cxf-checkstyle.xml
Expand Up @@ -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 -->
<!--
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit af00664

Please sign in to comment.