Mercurial > dive4elements > river
annotate checkstyle.xml @ 9440:e991c4cec0d0
Backed out changeset: ce0a48b93f4b
author | gernotbelger |
---|---|
date | Mon, 20 Aug 2018 16:58:23 +0200 |
parents | de423c2a3c1b |
children | c0803135455c 05e844922148 |
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="fileExtensions" value="java"/> |
8867
de423c2a3c1b
Checkstyle: define header inline.
Tom Gottfried <tom@intevation.de>
parents:
8859
diff
changeset
|
21 <property name="header" |
de423c2a3c1b
Checkstyle: define header inline.
Tom Gottfried <tom@intevation.de>
parents:
8859
diff
changeset
|
22 value="^/\* Copyright \(C\) .* by Bundesanstalt für Gewässerkunde$\n^ \* Software engineering by .*$\n^ \*$\n^ \* This file is Free Software under the GNU AGPL \(>=v3\)$\n^ \* and comes with ABSOLUTELY NO WARRANTY! Check out the$\n^ \* documentation coming with Dive4Elements River for details.$\n^ \*/$"/> |
8859
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 <module name="FileTabCharacter"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 <property name="eachLine" value="true"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
27 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
28 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
29 <module name="RegexpSingleline"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
30 <!-- \s matches whitespace character, $ matches end of line. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
31 <property name="format" value="\s+$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
32 <property name="message" value="Line has trailing spaces."/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
33 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
34 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
35 <module name="TreeWalker"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
36 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
37 <property name="cacheFile" value="${checkstyle.cache.file}"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
38 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
39 <!-- required for SuppressWarningsFilter (and other Suppress* rules not used here) --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
40 <!-- see http://checkstyle.sourceforge.net/config_annotation.html#SuppressWarningsHolder --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
41 <module name="SuppressWarningsHolder"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
42 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
43 <!-- Checks for Naming Conventions. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
44 <!-- See http://checkstyle.sf.net/config_naming.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
45 <!--<module name="ConstantName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
46 <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
|
47 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
48 <module name="LocalFinalVariableName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
49 <module name="LocalVariableName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
50 <property name="format" value="^[a-z][_a-zA-Z0-9]*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
51 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
52 <module name="MemberName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
53 <property name="format" value="^[a-zA-Z][_a-zA-Z0-9]*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
54 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
55 <module name="MethodName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
56 <module name="PackageName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
57 <module name="ParameterName"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
58 <property name="format" value="^[a-zA-Z][_a-zA-Z0-9]*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
59 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
60 <module name="StaticVariableName"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
61 <module name="TypeName"/>--> |
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 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
64 <!-- Checks for imports --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
65 <!-- See http://checkstyle.sf.net/config_import.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
66 <module name="AvoidStarImport"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
67 <module name="IllegalImport"/> <!-- defaults to sun.* packages --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
68 <module name="RedundantImport"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
69 <module name="UnusedImports"/> |
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 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
72 <!-- Checks for Size Violations. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
73 <!-- See http://checkstyle.sf.net/config_sizes.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
74 <module name="LineLength"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
75 <property name="ignorePattern" value="^ *\$wnd.*$"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
76 </module> |
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 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
79 <!-- Checks for whitespace --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
80 <!-- See http://checkstyle.sf.net/config_whitespace.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
81 <!--<module name="EmptyForIteratorPad"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
82 <module name="MethodParamPad"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
83 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
84 value="CTOR_DEF, LITERAL_NEW, METHOD_CALL, METHOD_DEF, SUPER_CTOR_CALL"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
85 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
86 <module name="NoWhitespaceAfter"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
87 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
88 value="INC,DEC,UNARY_MINUS,UNARY_PLUS,BNOT,LNOT,DOT,INDEX_OP"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
89 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
90 <module name="NoWhitespaceBefore"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
91 <module name="OperatorWrap"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
92 <module name="ParenPad"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
93 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
94 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
|
95 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
96 <module name="TypecastParenPad"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
97 <module name="WhitespaceAfter"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
98 <property name="tokens" value="COMMA, SEMI"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
99 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
100 <module name="WhitespaceAround"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
101 <property name="tokens" |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
102 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
|
103 </module>--> |
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 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
106 <!-- Modifier Checks --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
107 <!-- See http://checkstyle.sf.net/config_modifiers.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
108 <!--<module name="ModifierOrder"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
109 <!--<module name="RedundantModifier"/>--> |
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 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
112 <!-- Checks for blocks. You know, those {}'s --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
113 <!-- See http://checkstyle.sf.net/config_blocks.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
114 <!--<module name="AvoidNestedBlocks"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
115 <!--<module name="EmptyBlock"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
116 <!--<module name="LeftCurly"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
117 <!--<module name="NeedBraces"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
118 <!--<module name="RightCurly"/>--> |
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 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
121 <!-- Checks for common coding problems --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
122 <!-- See http://checkstyle.sf.net/config_coding.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
123 <!-- module name="EmptyStatement"/ --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
124 <!--<module name="EqualsHashCode"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
125 <!--<module name="HiddenField"> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
126 <property name="ignoreConstructorParameter" value="true"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
127 <property name="ignoreSetter" value="true"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
128 </module>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
129 <module name="IllegalInstantiation"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
130 <!--<module name="InnerAssignment"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
131 <!--<module name="MagicNumber"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
132 <!--<module name="MissingSwitchDefault"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
133 <!--<module name="SimplifyBooleanExpression"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
134 <!--<module name="SimplifyBooleanReturn"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
135 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
136 <!-- Checks for class design --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
137 <!-- See http://checkstyle.sf.net/config_design.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
138 <!--<module name="HideUtilityClassConstructor"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
139 <!--<module name="InterfaceIsType"/>--> |
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 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
142 <!-- Miscellaneous other checks. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
143 <!-- See http://checkstyle.sf.net/config_misc.html --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
144 <!--<module name="ArrayTypeStyle"/>--> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
145 <!-- Uncomment this if you want to track open TODOs. |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
146 <module name="TodoComment"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
147 --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
148 <module name="UpperEll"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
149 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
150 </module> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
151 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
152 <!-- Support @SuppressWarnings (added in Checkstyle 5.7) --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
153 <!-- see http://checkstyle.sourceforge.net/config.html#SuppressWarningsFilter --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
154 <module name="SuppressWarningsFilter"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
155 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
156 <!-- Checks properties file for a duplicated properties. --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
157 <!-- See http://checkstyle.sourceforge.net/config_misc.html#UniqueProperties --> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
158 <module name="UniqueProperties"/> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
159 |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
160 </module> |