forked from yahoo/tagchowder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle_suppressions.xml
24 lines (21 loc) · 1.54 KB
/
checkstyle_suppressions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!-- Suppress package-info.java checks in the unit test source folders
(src/test/java) with the same package as product code (src/main/java). We
exclude all UT classes from package enforcement, which may include test-only
packages such as utilities. But we cannot have the same-named file in the
same package at different locations or Eclipse will complain. However, only
command-line check-style honors this exclusion, so Eclipse check-style will
still complain, but at least it will not be an Eclipse compile failure when
you have 2 of the same files in the same package. note: Alternatively we
could exclude anything with "test" in the name by files="[\\/]test[\\/]"
@author dvictor -->
<suppress checks="JavadocPackage" files="[\\/]test[\\/]" />
<suppress checks="JavadocStyleCheck" files="[\\/]test[\\/]" />
<suppress checks="JavadocVariable" files="[\\/]test[\\/]" />
<suppress checks="MagicNumber" files="[\\/]test[\\/]" />
<!-- Suppress all checkstyle for autogenerated jaxws.managed package -->
<suppress checks="IllegalCatch" files="com[\\/]lafaspot[\\/]common[\\/]concurrent[\\/]internal[\\/]WorkerWrapper.java" />
<suppress checks="IllegalCatch" files="com[\\/]lafaspot[\\/]common[\\/]concurrent[\\/]internal[\\/]WorkerManagerOneThread.java" />
</suppressions>