annotate checkstyle.xml @ 9700:b2768f367dff

handler for wms theme legend
author dnt_bjoernsen <d.tironi@bjoernsen.de>
date Wed, 20 Jan 2021 19:06:57 +0100
parents c0803135455c
children
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 -->
9688
c0803135455c Removed nonsensiscal cehckstyle options.
Gernot Belger <g.belger@bjoernsen.de>
parents: 8867
diff changeset
10 <!--
c0803135455c Removed nonsensiscal cehckstyle options.
Gernot Belger <g.belger@bjoernsen.de>
parents: 8867
diff changeset
11 Makes no sense: only necessary for bad text exitors and bad diff tools.
8859
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
12 <module name="NewlineAtEndOfFile"/>
9688
c0803135455c Removed nonsensiscal cehckstyle options.
Gernot Belger <g.belger@bjoernsen.de>
parents: 8867
diff changeset
13 -->
8859
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
14
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 <!-- Checks that property files contain the same keys. -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
16 <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
17 <module name="Translation"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
18
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
19 <module name="FileLength"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
20
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
21 <!-- Following interprets the header file as regular expressions. -->
9688
c0803135455c Removed nonsensiscal cehckstyle options.
Gernot Belger <g.belger@bjoernsen.de>
parents: 8867
diff changeset
22 <!-- FIXME: needs to be adpted for engeneering by several companies.
8859
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
23 <module name="RegexpHeader">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
24 <property name="fileExtensions" value="java"/>
8867
de423c2a3c1b Checkstyle: define header inline.
Tom Gottfried <tom@intevation.de>
parents: 8859
diff changeset
25 <property name="header"
de423c2a3c1b Checkstyle: define header inline.
Tom Gottfried <tom@intevation.de>
parents: 8859
diff changeset
26 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
27 </module>
9688
c0803135455c Removed nonsensiscal cehckstyle options.
Gernot Belger <g.belger@bjoernsen.de>
parents: 8867
diff changeset
28 -->
8859
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
29
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
30 <module name="FileTabCharacter">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
31 <property name="eachLine" value="true"/>
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="RegexpSingleline">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
35 <!-- \s matches whitespace character, $ matches end of line. -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
36 <property name="format" value="\s+$"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
37 <property name="message" value="Line has trailing spaces."/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
38 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
39
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
40 <module name="TreeWalker">
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 <property name="cacheFile" value="${checkstyle.cache.file}"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
43
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
44 <!-- required for SuppressWarningsFilter (and other Suppress* rules not used here) -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
45 <!-- see http://checkstyle.sourceforge.net/config_annotation.html#SuppressWarningsHolder -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
46 <module name="SuppressWarningsHolder"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
47
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
48 <!-- Checks for Naming Conventions. -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
49 <!-- See http://checkstyle.sf.net/config_naming.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
50 <!--<module name="ConstantName">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
51 <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
52 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
53 <module name="LocalFinalVariableName"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
54 <module name="LocalVariableName">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
55 <property name="format" value="^[a-z][_a-zA-Z0-9]*$"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
56 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
57 <module name="MemberName">
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="MethodName"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
61 <module name="PackageName"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
62 <module name="ParameterName">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
63 <property name="format" value="^[a-zA-Z][_a-zA-Z0-9]*$"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
64 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
65 <module name="StaticVariableName"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
66 <module name="TypeName"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
67
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
68
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
69 <!-- Checks for imports -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
70 <!-- See http://checkstyle.sf.net/config_import.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
71 <module name="AvoidStarImport"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
72 <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
73 <module name="RedundantImport"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
74 <module name="UnusedImports"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
75
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 <!-- Checks for Size Violations. -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
78 <!-- See http://checkstyle.sf.net/config_sizes.html -->
9688
c0803135455c Removed nonsensiscal cehckstyle options.
Gernot Belger <g.belger@bjoernsen.de>
parents: 8867
diff changeset
79 <!-- Checks for 80 chars per line... we did this back in the 1980's...
8859
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
80 <module name="LineLength">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
81 <property name="ignorePattern" value="^ *\$wnd.*$"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
82 </module>
9688
c0803135455c Removed nonsensiscal cehckstyle options.
Gernot Belger <g.belger@bjoernsen.de>
parents: 8867
diff changeset
83 -->
8859
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
84
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
85 <!-- Checks for whitespace -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
86 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
87 <!--<module name="EmptyForIteratorPad"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
88 <module name="MethodParamPad">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
89 <property name="tokens"
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
90 value="CTOR_DEF, LITERAL_NEW, METHOD_CALL, METHOD_DEF, SUPER_CTOR_CALL"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
91 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
92 <module name="NoWhitespaceAfter">
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="INC,DEC,UNARY_MINUS,UNARY_PLUS,BNOT,LNOT,DOT,INDEX_OP"/>
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="NoWhitespaceBefore"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
97 <module name="OperatorWrap"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
98 <module name="ParenPad">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
99 <property name="tokens"
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
100 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
101 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
102 <module name="TypecastParenPad"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
103 <module name="WhitespaceAfter">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
104 <property name="tokens" value="COMMA, SEMI"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
105 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
106 <module name="WhitespaceAround">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
107 <property name="tokens"
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
108 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
109 </module>-->
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 <!-- Modifier Checks -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
113 <!-- See http://checkstyle.sf.net/config_modifiers.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
114 <!--<module name="ModifierOrder"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
115 <!--<module name="RedundantModifier"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
116
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
117
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
118 <!-- Checks for blocks. You know, those {}'s -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
119 <!-- See http://checkstyle.sf.net/config_blocks.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
120 <!--<module name="AvoidNestedBlocks"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
121 <!--<module name="EmptyBlock"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
122 <!--<module name="LeftCurly"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
123 <!--<module name="NeedBraces"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
124 <!--<module name="RightCurly"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
125
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
126
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
127 <!-- Checks for common coding problems -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
128 <!-- See http://checkstyle.sf.net/config_coding.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
129 <!-- module name="EmptyStatement"/ -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
130 <!--<module name="EqualsHashCode"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
131 <!--<module name="HiddenField">
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
132 <property name="ignoreConstructorParameter" value="true"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
133 <property name="ignoreSetter" value="true"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
134 </module>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
135 <module name="IllegalInstantiation"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
136 <!--<module name="InnerAssignment"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
137 <!--<module name="MagicNumber"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
138 <!--<module name="MissingSwitchDefault"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
139 <!--<module name="SimplifyBooleanExpression"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
140 <!--<module name="SimplifyBooleanReturn"/>-->
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 <!-- Checks for class design -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
143 <!-- See http://checkstyle.sf.net/config_design.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
144 <!--<module name="HideUtilityClassConstructor"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
145 <!--<module name="InterfaceIsType"/>-->
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
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
148 <!-- Miscellaneous other checks. -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
149 <!-- See http://checkstyle.sf.net/config_misc.html -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
150 <!--<module name="ArrayTypeStyle"/>-->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
151 <!-- Uncomment this if you want to track open TODOs.
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
152 <module name="TodoComment"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
153 -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
154 <module name="UpperEll"/>
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 </module>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
157
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
158 <!-- Support @SuppressWarnings (added in Checkstyle 5.7) -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
159 <!-- see http://checkstyle.sourceforge.net/config.html#SuppressWarningsFilter -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
160 <module name="SuppressWarningsFilter"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
161
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
162 <!-- Checks properties file for a duplicated properties. -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
163 <!-- See http://checkstyle.sourceforge.net/config_misc.html#UniqueProperties -->
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
164 <module name="UniqueProperties"/>
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
165
0862ea5d66ba Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
166 </module>

http://dive4elements.wald.intevation.org