author | nikita@nikita-lab |
Sat, 16 May 2009 22:59:02 +0200 | |
changeset 186 | 7aec70b9ca79 |
parent 40 | abf9da283377 |
child 337 | 9ff7cb885f94 |
permissions | -rw-r--r-- |
32 | 1 |
<?xml version="1.0"?> |
2 |
<!DOCTYPE module PUBLIC |
|
3 |
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" |
|
4 |
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> |
|
5 |
||
6 |
<!-- |
|
7 |
||
8 |
Checkstyle configuration that checks the sun coding conventions from: |
|
9 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
10 |
- the Java Language Specification at |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
11 |
http://java.sun.com/docs/books/jls/second_edition/html/index.html |
32 | 12 |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
13 |
- the Sun Code Conventions at http://java.sun.com/docs/codeconv/ |
32 | 14 |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
15 |
- the Javadoc guidelines at |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
16 |
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html |
32 | 17 |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
18 |
- the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html |
32 | 19 |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
20 |
- some best practices |
32 | 21 |
|
22 |
Checkstyle is very configurable. Be sure to read the documentation at |
|
23 |
http://checkstyle.sf.net (or in your downloaded distribution). |
|
24 |
||
25 |
Most Checks are configurable, be sure to consult the documentation. |
|
26 |
||
27 |
To completely disable a check, just comment it out or delete it from the file. |
|
28 |
||
29 |
Finally, it is worth reading the documentation. |
|
30 |
||
31 |
--> |
|
32 |
||
33 |
<module name="Checker"> |
|
40
abf9da283377
Tite modification du checkstyle.xml
Da Risk <darisk972@gmail.com>
parents:
38
diff
changeset
|
34 |
<property name="severity" value="warning"/> |
32 | 35 |
|
36 |
<!-- Checks that a package.html file exists for each package. --> |
|
37 |
<!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml --> |
|
38 |
<module name="PackageHtml"/> |
|
39 |
||
40 |
<!-- Checks whether files end with a new line. --> |
|
41 |
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> |
|
42 |
<module name="NewlineAtEndOfFile"/> |
|
43 |
||
44 |
<!-- Checks that property files contain the same keys. --> |
|
45 |
<!-- See http://checkstyle.sf.net/config_misc.html#Translation --> |
|
46 |
<module name="Translation"/> |
|
47 |
||
48 |
||
49 |
<module name="TreeWalker"> |
|
50 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
51 |
<!-- Checks for Javadoc comments. --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
52 |
<!-- See http://checkstyle.sf.net/config_javadoc.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
53 |
<module name="JavadocMethod"> |
32 | 54 |
<property name="allowUndeclaredRTE" value="true"/> |
55 |
</module> |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
56 |
<module name="JavadocType"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
57 |
<module name="JavadocVariable"> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
58 |
<property name="scope" value="package" /> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
59 |
</module> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
60 |
<module name="JavadocStyle"> |
32 | 61 |
<property name="checkEmptyJavadoc" value="true"/> |
62 |
</module> |
|
63 |
||
64 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
65 |
<!-- Checks for Naming Conventions. --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
66 |
<!-- See http://checkstyle.sf.net/config_naming.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
67 |
<module name="ConstantName"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
68 |
<module name="LocalFinalVariableName"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
69 |
<module name="LocalVariableName"/> |
32 | 70 |
<module name="MemberName"> |
71 |
<property name="format" value="^m[A-Z][a-zA-Z0-9]*$"/> |
|
40
abf9da283377
Tite modification du checkstyle.xml
Da Risk <darisk972@gmail.com>
parents:
38
diff
changeset
|
72 |
<property name="severity" value="error"/> |
32 | 73 |
</module> |
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
74 |
<module name="MethodName"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
75 |
<module name="PackageName"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
76 |
<module name="ParameterName"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
77 |
<module name="StaticVariableName"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
78 |
<module name="TypeName"/> |
32 | 79 |
|
80 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
81 |
<!-- Checks for Headers --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
82 |
<!-- See http://checkstyle.sf.net/config_header.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
83 |
<!-- <module name="Header"> --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
84 |
<!-- The follow property value demonstrates the ability --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
85 |
<!-- to have access to ANT properties. In this case it uses --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
86 |
<!-- the ${basedir} property to allow Checkstyle to be run --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
87 |
<!-- from any directory within a project. See property --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
88 |
<!-- expansion, --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
89 |
<!-- http://checkstyle.sf.net/config.html#properties --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
90 |
<!-- <property --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
91 |
<!-- name="headerFile" --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
92 |
<!-- value="${basedir}/java.header"/> --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
93 |
<!-- </module> --> |
32 | 94 |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
95 |
<!-- Following interprets the header file as regular expressions. --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
96 |
<!-- <module name="RegexpHeader"/> --> |
32 | 97 |
|
98 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
99 |
<!-- Checks for imports --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
100 |
<!-- See http://checkstyle.sf.net/config_import.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
101 |
<module name="AvoidStarImport"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
102 |
<module name="IllegalImport"/> <!-- defaults to sun.* packages --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
103 |
<module name="RedundantImport"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
104 |
<module name="UnusedImports"/> |
32 | 105 |
|
106 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
107 |
<!-- Checks for Size Violations. --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
108 |
<!-- See http://checkstyle.sf.net/config_sizes.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
109 |
<module name="FileLength"/> |
32 | 110 |
<module name="LineLength"> |
111 |
<property name="max" value="120" /> |
|
112 |
</module> |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
113 |
<module name="MethodLength"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
114 |
<module name="ParameterNumber"/> |
32 | 115 |
<module name="AnonInnerLength"> |
116 |
<property name="max" value="60" /> |
|
117 |
</module> |
|
118 |
||
119 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
120 |
<!-- Checks for whitespace --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
121 |
<!-- See http://checkstyle.sf.net/config_whitespace.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
122 |
<module name="EmptyForIteratorPad"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
123 |
<module name="MethodParamPad"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
124 |
<module name="NoWhitespaceAfter"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
125 |
<module name="NoWhitespaceBefore"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
126 |
<module name="OperatorWrap"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
127 |
<module name="ParenPad"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
128 |
<module name="TypecastParenPad"/> |
32 | 129 |
<!-- We want mixed tabulation |
130 |
<module name="TabCharacter"/> |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
131 |
--> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
132 |
<module name="WhitespaceAfter"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
133 |
<module name="WhitespaceAround"/> |
32 | 134 |
|
135 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
136 |
<!-- Modifier Checks --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
137 |
<!-- See http://checkstyle.sf.net/config_modifiers.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
138 |
<module name="ModifierOrder"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
139 |
<module name="RedundantModifier"/> |
32 | 140 |
|
141 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
142 |
<!-- Checks for blocks. You know, those {}'s --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
143 |
<!-- See http://checkstyle.sf.net/config_blocks.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
144 |
<module name="AvoidNestedBlocks"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
145 |
<module name="EmptyBlock"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
146 |
<module name="LeftCurly"/> |
32 | 147 |
<!-- |
148 |
<module name="NeedBraces"/> |
|
149 |
--> |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
150 |
<module name="RightCurly"/> |
32 | 151 |
|
152 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
153 |
<!-- Checks for common coding problems --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
154 |
<!-- See http://checkstyle.sf.net/config_coding.html --> |
32 | 155 |
<module name="CovariantEquals"/> |
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
156 |
<module name="AvoidInlineConditionals"/> |
32 | 157 |
<module name="InnerAssignment" /> |
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
158 |
<module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
159 |
<module name="EmptyStatement"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
160 |
<module name="EqualsHashCode"/> |
32 | 161 |
<module name="HiddenField"> |
162 |
<property name="ignoreConstructorParameter" value="true"/> |
|
163 |
<property name="ignoreAbstractMethods" value="true"/> |
|
164 |
<property name="ignoreSetter" value="true"/> |
|
165 |
</module> |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
166 |
<module name="IllegalInstantiation"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
167 |
<module name="InnerAssignment"/> |
32 | 168 |
<!-- |
169 |
<module name="MagicNumber"/> |
|
170 |
--> |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
171 |
<module name="MissingSwitchDefault"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
172 |
<module name="RedundantThrows"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
173 |
<module name="SimplifyBooleanExpression"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
174 |
<module name="SimplifyBooleanReturn"/> |
32 | 175 |
<module name="StringLiteralEquality"/> |
176 |
<module name="SuperFinalize"/> |
|
177 |
<module name="IllegalCatch"/> |
|
178 |
<module name="IllegalThrows"/> |
|
179 |
<module name="PackageDeclaration"/> |
|
180 |
<module name="JUnitTestCase"/> |
|
181 |
<module name="DeclarationOrder"/> |
|
182 |
<module name="ExplicitInitialization"/> |
|
183 |
<module name="DefaultComesLast"/> |
|
184 |
<module name="MissingCtor"/> |
|
185 |
<module name="FallThrough"/> |
|
186 |
<module name="MultipleStringLiterals"/> |
|
187 |
<module name="MultipleVariableDeclarations"/> |
|
188 |
<module name="UnnecessaryParentheses"/> |
|
189 |
<module name="ParameterAssignment"/> |
|
190 |
<module name="SuperClone"/> |
|
191 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
192 |
<!-- Checks for class design --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
193 |
<!-- See http://checkstyle.sf.net/config_design.html --> |
38
3e76846c48a9
We can now get the contact list of the user.
Da Risk <darisk972@gmail.com>
parents:
33
diff
changeset
|
194 |
<!-- |
3e76846c48a9
We can now get the contact list of the user.
Da Risk <darisk972@gmail.com>
parents:
33
diff
changeset
|
195 |
<module name="DesignForExtension"/> |
3e76846c48a9
We can now get the contact list of the user.
Da Risk <darisk972@gmail.com>
parents:
33
diff
changeset
|
196 |
--> |
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
197 |
<module name="FinalClass"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
198 |
<module name="HideUtilityClassConstructor"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
199 |
<module name="InterfaceIsType"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
200 |
<module name="VisibilityModifier"/> |
32 | 201 |
<module name="MutableException"/> |
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
202 |
|
32 | 203 |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
204 |
<!-- Miscellaneous other checks. --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
205 |
<!-- See http://checkstyle.sf.net/config_misc.html --> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
206 |
<module name="ArrayTypeStyle"/> |
32 | 207 |
<module name="FinalParameters"> |
208 |
<property name="tokens" value="CTOR_DEF"/> |
|
209 |
</module> |
|
210 |
<module name="Indentation"/> |
|
211 |
||
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
212 |
<module name="GenericIllegalRegexp"> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
213 |
<property name="format" value="\s+$"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
214 |
<property name="message" value="Line has trailing spaces."/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
215 |
</module> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
216 |
<module name="TodoComment"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
217 |
<module name="UpperEll"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
218 |
|
32 | 219 |
<module name="BooleanExpressionComplexity"/> |
220 |
<module name="UpperEll"/> |
|
221 |
||
222 |
||
223 |
<module name="ArrayTypeStyle"/> |
|
224 |
||
225 |
</module> |
|
33
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
226 |
<module name="StrictDuplicateCode"/> |
0e65d5f55d2f
Merge with ui. Synchronous connection worked.
Da Risk <darisk972@gmail.com>
parents:
32
diff
changeset
|
227 |
<module name="NewlineAtEndOfFile"/> |
32 | 228 |
|
229 |
</module> |