added SuppressionCommentFilter so we can suppress individual findings

This commit is contained in:
Jeremy Long
2015-09-13 07:01:10 -04:00
parent 813e423bec
commit 6c6ae66e36

View File

@@ -18,6 +18,12 @@
<property name="file" value="${checkstyle.suppressions.file}"/>
</module>
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CSOFF\: ([\w\|]+)"/>
<property name="onCommentFormat" value="CSON\: ([\w\|]+)"/>
<property name="checkFormat" value="$1"/>
</module>
<module name="JavadocPackage">
<property name="allowLegacy" value="false"/>
</module>
@@ -53,7 +59,7 @@
<module name="TreeWalker">
<property name="tabWidth" value="4"/>
<module name="FileContentsHolder"/>
<module name="AvoidStarImport"/>
<module name="ConstantName"/>
<module name="EmptyBlock"/>