Mercurial > dive4elements > river
annotate checkstyle.xml @ 8859:0862ea5d66ba 3.2.x
Add Checkstyle configuration.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:54:03 +0100 |
parents | |
children | de423c2a3c1b |
rev | line source |
---|---|
8859
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 <!DOCTYPE module PUBLIC |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
3 "-//Puppy Crawl//DTD Check Configuration 1.2//EN" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
4 "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
5 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
6 <module name="Checker"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
7 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 <!-- Checks whether files end with a new line. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
9 <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
10 <module name="NewlineAtEndOfFile"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
11 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
12 <!-- Checks that property files contain the same keys. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
13 <!-- See http://checkstyle.sf.net/config_misc.html#Translation --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
14 <module name="Translation"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
15 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
16 <module name="FileLength"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
17 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
18 <!-- Following interprets the header file as regular expressions. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
19 <module name="RegexpHeader"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
20 <property name="headerFile" value="../java.header"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
21 <property name="fileExtensions" value="java"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
22 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 <module name="FileTabCharacter"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 <property name="eachLine" value="true"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
27 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
28 <module name="RegexpSingleline"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
29 <!-- \s matches whitespace character, $ matches end of line. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
30 <property name="format" value="\s+$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
31 <property name="message" value="Line has trailing spaces."/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
32 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
33 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
34 <module name="TreeWalker"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
35 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
36 <property name="cacheFile" value="${checkstyle.cache.file}"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
37 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
38 <!-- required for SuppressWarningsFilter (and other Suppress* rules not used here) --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
39 <!-- see http://checkstyle.sourceforge.net/config_annotation.html#SuppressWarningsHolder --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
40 <module name="SuppressWarningsHolder"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
41 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
42 <!-- Checks for Naming Conventions. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
43 <!-- See http://checkstyle.sf.net/config_naming.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
44 <!--<module name="ConstantName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
45 <property name="format" value="log|^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
46 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
47 <module name="LocalFinalVariableName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
48 <module name="LocalVariableName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
49 <property name="format" value="^[a-z][_a-zA-Z0-9]*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
50 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
51 <module name="MemberName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
52 <property name="format" value="^[a-zA-Z][_a-zA-Z0-9]*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
53 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
54 <module name="MethodName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
55 <module name="PackageName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
56 <module name="ParameterName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
57 <property name="format" value="^[a-zA-Z][_a-zA-Z0-9]*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
58 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
59 <module name="StaticVariableName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
60 <module name="TypeName"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
61 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
62 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
63 <!-- Checks for imports --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
64 <!-- See http://checkstyle.sf.net/config_import.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
65 <module name="AvoidStarImport"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
66 <module name="IllegalImport"/> <!-- defaults to sun.* packages --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
67 <module name="RedundantImport"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
68 <module name="UnusedImports"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
69 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
70 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
71 <!-- Checks for Size Violations. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
72 <!-- See http://checkstyle.sf.net/config_sizes.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
73 <module name="LineLength"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
74 <property name="ignorePattern" value="^ *\$wnd.*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
75 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
76 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
77 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
78 <!-- Checks for whitespace --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
79 <!-- See http://checkstyle.sf.net/config_whitespace.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
80 <!--<module name="EmptyForIteratorPad"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
81 <module name="MethodParamPad"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
82 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
83 value="CTOR_DEF, LITERAL_NEW, METHOD_CALL, METHOD_DEF, SUPER_CTOR_CALL"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
84 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
85 <module name="NoWhitespaceAfter"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
86 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
87 value="INC,DEC,UNARY_MINUS,UNARY_PLUS,BNOT,LNOT,DOT,INDEX_OP"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
88 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
89 <module name="NoWhitespaceBefore"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
90 <module name="OperatorWrap"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
91 <module name="ParenPad"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
92 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
93 value="ANNOTATION, ANNOTATION_FIELD_DEF, CTOR_CALL, CTOR_DEF, EXPR, LITERAL_CATCH, LITERAL_DO, LITERAL_FOR, LITERAL_IF, LITERAL_NEW, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_WHILE, METHOD_CALL, METHOD_DEF, QUESTION, RESOURCE_SPECIFICATION, SUPER_CTOR_CALL"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
94 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
95 <module name="TypecastParenPad"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
96 <module name="WhitespaceAfter"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
97 <property name="tokens" value="COMMA, SEMI"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
98 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
99 <module name="WhitespaceAround"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
100 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
101 value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV_ASSIGN, DO_WHILE, EQUAL, LAMBDA, LAND, LCURLY, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, MINUS_ASSIGN, MOD_ASSIGN, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR_ASSIGN, LITERAL_ASSERT, TYPE_EXTENSION_AND"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
102 </module>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
103 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
104 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
105 <!-- Modifier Checks --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
106 <!-- See http://checkstyle.sf.net/config_modifiers.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
107 <!--<module name="ModifierOrder"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
108 <!--<module name="RedundantModifier"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
109 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
110 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
111 <!-- Checks for blocks. You know, those {}'s --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
112 <!-- See http://checkstyle.sf.net/config_blocks.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
113 <!--<module name="AvoidNestedBlocks"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
114 <!--<module name="EmptyBlock"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
115 <!--<module name="LeftCurly"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
116 <!--<module name="NeedBraces"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
117 <!--<module name="RightCurly"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
118 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
119 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
120 <!-- Checks for common coding problems --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
121 <!-- See http://checkstyle.sf.net/config_coding.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
122 <!-- module name="EmptyStatement"/ --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
123 <!--<module name="EqualsHashCode"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
124 <!--<module name="HiddenField"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
125 <property name="ignoreConstructorParameter" value="true"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
126 <property name="ignoreSetter" value="true"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
127 </module>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
128 <module name="IllegalInstantiation"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
129 <!--<module name="InnerAssignment"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
130 <!--<module name="MagicNumber"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
131 <!--<module name="MissingSwitchDefault"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
132 <!--<module name="SimplifyBooleanExpression"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
133 <!--<module name="SimplifyBooleanReturn"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
134 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
135 <!-- Checks for class design --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
136 <!-- See http://checkstyle.sf.net/config_design.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
137 <!--<module name="HideUtilityClassConstructor"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
138 <!--<module name="InterfaceIsType"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
139 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
140 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
141 <!-- Miscellaneous other checks. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
142 <!-- See http://checkstyle.sf.net/config_misc.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
143 <!--<module name="ArrayTypeStyle"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
144 <!-- Uncomment this if you want to track open TODOs. |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
145 <module name="TodoComment"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
146 --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
147 <module name="UpperEll"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
148 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
149 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
150 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
151 <!-- Support @SuppressWarnings (added in Checkstyle 5.7) --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
152 <!-- see http://checkstyle.sourceforge.net/config.html#SuppressWarningsFilter --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
153 <module name="SuppressWarningsFilter"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
154 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
155 <!-- Checks properties file for a duplicated properties. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
156 <!-- See http://checkstyle.sourceforge.net/config_misc.html#UniqueProperties --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
157 <module name="UniqueProperties"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
158 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
159 </module> |