Suppress checkstyle for some files

This commit is contained in:
Thialfihar 2014-04-02 01:58:54 +02:00
parent 592ab31d86
commit 22fe3832ba
2 changed files with 14 additions and 2 deletions

View file

@ -9,9 +9,9 @@ page at http://checkstyle.sourceforge.net/config.html -->
<module name="OpenPgpChecker">
<!--<module name="SuppressionFilter">
<module name="SuppressionFilter">
<property name="file" value="tools/suppressions.xml"/>
</module>-->
</module>
<module name="RegexpSingleline">
<!-- Requires a copyright notice in each file.

12
tools/suppressions.xml Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<suppress files="(Constants|Id|R|PgpConversionHelper)\.java" checks=".*NameCheck"/>
<suppress files="Apg.java" checks="LineLength"/>
<suppress files="FileDialog.java" checks="StaticVariableNameCheck"/>
<suppress files="PRNGFixes.java" checks=".*"/>
</suppressions>