Skip to main content
summaryrefslogtreecommitdiffstats
blob: 29a8ab3d3543979ecd4bc8fc5fa5fab03fbd6dfa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<!--
    This configuration file was written by the eclipse-cs plugin configuration editor
-->
<!--
    Checkstyle-Configuration: checkstyle-main
    Description: none
-->
<module name="Checker">
  <property name="severity" value="warning"/>
  <module name="TreeWalker">
    <module name="MissingOverride">
      <metadata name="net.sf.eclipsecs.core.comment" value="Verifies that the java.lang.Override annotation is present when the {@inheritDoc} javadoc tag is present."/>
      <property name="id" value="missingoverride"/>
    </module>
    <module name="ConstantName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that constants (static final fields) variables follow naming convention"/>
      <property name="id" value="nameconstant"/>
    </module>
    <module name="LocalFinalVariableName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that local final variables follow naming convention"/>
      <property name="id" value="namelocalfinalvar"/>
      <property name="format" value="^(([a-z]+[A-Z]?[a-z]*)+[0-9]*)$"/>
    </module>
    <module name="LocalVariableName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that local variables follow naming convention"/>
      <property name="id" value="namelocalvar"/>
      <property name="format" value="^(([a-z]+[A-Z]?[a-z]*)+[0-9]*)$"/>
    </module>
    <module name="MemberName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that member variables (non-static fields) follow naming convention"/>
      <property name="id" value="namemember"/>
      <property name="format" value="^(([a-z]+[A-Z]?[a-z]*)+[0-9]*)$"/>
    </module>
    <module name="MethodName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that method names follow naming convention"/>
      <property name="id" value="namemethod"/>
      <property name="format" value="^(([a-z]+[A-Z]?[a-z]*)+[0-9]*)$"/>
    </module>
    <module name="PackageName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that package names follow naming convention"/>
      <property name="id" value="namepackage"/>
      <property name="format" value="^[a-z]+(\.[a-z_][a-z0-9_]*)*$"/>
    </module>
    <module name="ParameterName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that parameter names follow naming convention"/>
      <property name="id" value="nameparam"/>
      <property name="format" value="^(([a-z]+[A-Z]?[a-z]*)+[0-9]*)$"/>
      <property name="accessModifiers" value="public"/>
    </module>
    <module name="StaticVariableName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that static variables (static, non-final fields) follow naming convention"/>
      <property name="id" value="namestaticvar"/>
      <property name="format" value="^(([a-z]+[A-Z]?[a-z]*)+[0-9]*)$"/>
    </module>
    <module name="TypeName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that interface names follow naming convention"/>
      <property name="id" value="nameinterface"/>
      <property name="format" value="^I(([A-Z][a-z0-9]+)+[A-Z]?)$"/>
      <property name="tokens" value="INTERFACE_DEF"/>
    </module>
    <module name="TypeName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that class names  follow naming convention"/>
      <property name="id" value="nameclass"/>
      <property name="format" value="^(([A-Z][a-z0-9]+)+[A-Z]?)$"/>
      <property name="tokens" value="CLASS_DEF"/>
    </module>
    <module name="TypeName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that enum names follow naming convention"/>
      <property name="id" value="nameenum"/>
      <property name="format" value="^(([A-Z][a-z0-9]+)+[A-Z]?)$"/>
      <property name="tokens" value="ENUM_DEF"/>
    </module>
    <module name="TypeName">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that annotation names follow naming convention"/>
      <property name="id" value="nameannotation"/>
      <property name="format" value="^(([A-Z][a-z0-9]+)+[A-Z]?)$"/>
      <property name="tokens" value="ANNOTATION_DEF"/>
    </module>
    <module name="AvoidStarImport">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that there are no import statements that use the * notation."/>
      <property name="id" value="starimport"/>
    </module>
    <module name="IllegalImport">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for imports from a set of illegal packages"/>
      <property name="id" value="illegalimports"/>
    </module>
    <module name="CustomImportOrder">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that the groups of import declarations appear in the order specified by the user"/>
      <property name="id" value="importcustomorder"/>
      <property name="customImportOrderRules" value="STATIC###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE"/>
      <property name="thirdPartyPackageRegExp" value="^com\."/>
      <property name="specialImportsRegExp" value="^org\."/>
      <property name="sortImportsInGroupAlphabetically" value="true"/>
    </module>
    <module name="RedundantImport">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for redundant import statements"/>
      <property name="id" value="importredundant"/>
    </module>
    <module name="UnusedImports">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for unused import statements. "/>
      <property name="id" value="importunused"/>
    </module>
    <module name="LineLength">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for long lines"/>
      <property name="severity" value="ignore"/>
      <property name="id" value="sizeline"/>
      <property name="ignorePattern" value="^ *\*"/>
      <property name="max" value="140"/>
      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
    </module>
    <module name="MethodLength">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for long methods and constructors."/>
      <property name="severity" value="ignore"/>
      <property name="id" value="methodlength"/>
      <property name="max" value="40"/>
      <property name="countEmpty" value="false"/>
      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
    </module>
    <module name="ParameterNumber">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the number of parameters of a method or constructor (default 7)"/>
      <property name="id" value="paramsmax"/>
    </module>
    <module name="EmptyForInitializerPad">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the padding of an empty for initializer"/>
      <property name="id" value="initpad"/>
    </module>
    <module name="EmptyForIteratorPad">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the padding of an empty for iterator"/>
      <property name="id" value="iterpad"/>
    </module>
    <module name="EmptyLineSeparator">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for empty line separators"/>
      <property name="id" value="lineseparator"/>
      <property name="tokens" value="CLASS_DEF,CTOR_DEF,ENUM_DEF,INTERFACE_DEF,METHOD_DEF,STATIC_INIT"/>
    </module>
    <module name="GenericWhitespace">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that the whitespace around the Generic tokens &lt; and &gt; is correct to the typical convention"/>
      <property name="id" value="genericwhitespace"/>
    </module>
    <module name="MethodParamPad">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the padding between the identifier of a method definition, constructor definition, method call, or constructor invocation"/>
      <property name="id" value="padmethodparam"/>
      <property name="tokens" value="CTOR_DEF,ENUM_CONSTANT_DEF,METHOD_CALL,METHOD_DEF,LITERAL_NEW,SUPER_CTOR_CALL"/>
    </module>
    <module name="NoWhitespaceAfter">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that there is no whitespace after a token"/>
      <property name="id" value="whitespaceafter"/>
      <property name="tokens" value="LNOT,DOT,BNOT,DEC,UNARY_MINUS,UNARY_PLUS,INC,ARRAY_INIT,TYPECAST"/>
    </module>
    <module name="NoWhitespaceBefore">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that there is no whitespace before a token"/>
      <property name="id" value="whitespacebefore"/>
    </module>
    <module name="OperatorWrap">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the policy on how to wrap lines on operators"/>
      <property name="id" value="wrapoperator"/>
      <property name="tokens" value="QUESTION,COLON,EQUAL,NOT_EQUAL,DIV,PLUS,MINUS,STAR,MOD,SR,BSR,GE,GT,SL,LE,LT,BXOR,BOR,LOR,BAND,LAND,LITERAL_INSTANCEOF,TYPE_EXTENSION_AND"/>
    </module>
    <module name="ParenPad">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the policy on the padding of parentheses"/>
      <property name="id" value="padparentheses"/>
      <property name="tokens" value="QUESTION,ANNOTATION,ANNOTATION_FIELD_DEF,LITERAL_CATCH,CTOR_CALL,CTOR_DEF,LITERAL_DO,ENUM_CONSTANT_DEF,EXPR,LITERAL_FOR,LITERAL_IF,RESOURCE_SPECIFICATION,METHOD_CALL,METHOD_DEF,LITERAL_NEW,SUPER_CTOR_CALL,LITERAL_SWITCH,LITERAL_SYNCHRONIZED,LITERAL_WHILE"/>
    </module>
    <module name="TypecastParenPad">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the policy on the padding of parentheses for typecasts."/>
      <property name="id" value="padtypecastparen"/>
      <property name="tokens" value="RPAREN,TYPECAST"/>
    </module>
    <module name="WhitespaceAfter">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that a token is followed by whitespace."/>
      <property name="id" value="whitespaceafter"/>
      <property name="tokens" value="COMMA,SEMI,TYPECAST"/>
    </module>
    <module name="ModifierOrder">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that the order of modifiers conforms to the suggestions in the Java Language specification"/>
      <property name="id" value="ordermodifier"/>
    </module>
    <module name="RedundantModifier">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for redundant modifiers"/>
      <property name="id" value="modiredundant"/>
    </module>
    <module name="EmptyBlock">
      <metadata name="net.sf.eclipsecs.core.comment" value="Check that there are no empty catch blocks."/>
      <property name="id" value="emptycatchblocks"/>
      <property name="option" value="text"/>
      <property name="tokens" value="LITERAL_CATCH"/>
    </module>
    <module name="EmptyBlock">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for empty blocks."/>
      <property name="id" value="emptyblock"/>
      <property name="tokens" value="LITERAL_WHILE,LITERAL_TRY,LITERAL_FINALLY,LITERAL_DO,LITERAL_IF,LITERAL_ELSE,LITERAL_FOR,INSTANCE_INIT,STATIC_INIT"/>
    </module>
    <module name="EmptyCatchBlock">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for empty catch blocks"/>
      <property name="id" value="emptycatch"/>
    </module>
    <module name="LeftCurly">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for the placement of left curly braces ('{') for code blocks."/>
      <property name="id" value="leftcurly"/>
    </module>
    <module name="NeedBraces">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for braces around code blocks"/>
      <property name="severity" value="ignore"/>
      <property name="id" value="needbraces"/>
      <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FOR,LITERAL_IF,LITERAL_WHILE"/>
      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
    </module>
    <module name="RightCurly">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the placement of right curly braces"/>
      <property name="id" value="rightcurly"/>
      <property name="option" value="alone"/>
      <property name="tokens" value="LITERAL_CATCH,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY"/>
    </module>
    <module name="CovariantEquals">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that classes that define a covariant equals() method also override method equals(java.lang.Object)."/>
      <property name="id" value="covariantequals"/>
    </module>
    <module name="DeclarationOrder">
      <metadata name="net.sf.eclipsecs.core.comment" value="Check whether parts of a class or interface declaration appear in the right order "/>
      <property name="id" value="orderclass"/>
    </module>
    <module name="DefaultComesLast">
      <metadata name="net.sf.eclipsecs.core.comment" value="Check that the default is after all the cases in a switch statement."/>
      <property name="id" value="defaultlast"/>
    </module>
    <module name="EmptyStatement">
      <metadata name="net.sf.eclipsecs.core.comment" value="Detects empty statements "/>
      <property name="id" value="emptystatement"/>
    </module>
    <module name="EqualsHashCode">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that classes that override equals() also override hashCode()."/>
      <property name="id" value="equalshashcode"/>
    </module>
    <module name="FallThrough">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for fall through in switch statements"/>
      <property name="id" value="switchfallthrough"/>
    </module>
    <module name="HiddenField">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that a local variable does not shadow a field that is defined in the same class."/>
      <property name="id" value="varhidesfield"/>
      <property name="tokens" value="VARIABLE_DEF"/>
    </module>
    <module name="IllegalInstantiation">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for illegal instantiations where a factory method is preferred"/>
      <property name="id" value="illegalinstantiation"/>
      <property name="classes" value="java.lang.Boolean, java.lang.Integer, java.lang.Long"/>
    </module>
    <module name="IllegalThrows">
      <metadata name="net.sf.eclipsecs.core.comment" value="This check can be used to ensure that types are not declared to be thrown. Declaring to throw java.lang.Error or java.lang.RuntimeException is almost never acceptable."/>
      <property name="id" value="illegalthrows"/>
    </module>
    <module name="InnerAssignment">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for assignments in subexpressions, such as in 'String s = Integer.toString(i = 2);'"/>
      <property name="id" value="innerassignment"/>
    </module>
    <module name="MagicNumber">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that there are no 'magic numbers'"/>
      <property name="id" value="magicnumber"/>
      <property name="constantWaiverParentToken" value="TYPECAST,METHOD_CALL,EXPR,ARRAY_INIT,UNARY_MINUS,UNARY_PLUS,ELIST,STAR,ASSIGN,PLUS,MINUS,DIV,LITERAL_NEW"/>
    </module>
    <module name="MissingSwitchDefault">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that switch statement has 'default' clause."/>
      <property name="id" value="switchdefault"/>
    </module>
    <module name="MultipleStringLiterals">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for multiple occurrences of the same string literal within a single file."/>
      <property name="id" value="multistringliterals"/>
    </module>
    <module name="MultipleVariableDeclarations">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that each variable declaration is in its own statement and on its own line"/>
      <property name="id" value="multivardeclr"/>
    </module>
    <module name="NestedForDepth">
      <metadata name="net.sf.eclipsecs.core.comment" value="Restricts nested for blocks to a specified depth (default = 1)."/>
      <property name="id" value="fordepth"/>
      <property name="max" value="2"/>
    </module>
    <module name="NestedIfDepth">
      <metadata name="net.sf.eclipsecs.core.comment" value="Restricts nested if-else blocks to a specified depth"/>
      <property name="max" value="3"/>
    </module>
    <module name="NestedTryDepth">
      <metadata name="net.sf.eclipsecs.core.comment" value="Restricts nested try blocks to a specified depth"/>
      <property name="id" value="trydepth"/>
      <property name="max" value="2"/>
    </module>
    <module name="SimplifyBooleanExpression">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for overly complicated boolean expressions"/>
      <property name="id" value="boolexprsimple"/>
    </module>
    <module name="SimplifyBooleanReturn">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks for overly complicated boolean return statements"/>
      <property name="id" value="boolreturnsimple"/>
    </module>
    <module name="StringLiteralEquality">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that string literals are not used with == or != (use equals instead)"/>
      <property name="id" value="stringliteralequals"/>
    </module>
    <module name="FinalClass">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that a class which has only private constructors is declared as final."/>
      <property name="id" value="finalclass"/>
    </module>
    <module name="InnerTypeLast">
      <metadata name="net.sf.eclipsecs.core.comment" value="Check nested/internal types to be declared at the bottom of the class "/>
      <property name="id" value="innertypelast"/>
    </module>
    <module name="HideUtilityClassConstructor">
      <metadata name="net.sf.eclipsecs.core.comment" value="Make sure that utility classes do not have a public constructor"/>
      <property name="id" value="utilclassctor"/>
    </module>
    <module name="MutableException">
      <metadata name="net.sf.eclipsecs.core.comment" value="Ensures that exceptions are immutable"/>
      <property name="id" value="exceptionimmutable"/>
    </module>
    <module name="OneTopLevelClass">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that each top-level class, interface or enum resides in a source file of its own"/>
      <property name="id" value="onetoplevelclass"/>
    </module>
    <module name="BooleanExpressionComplexity">
      <metadata name="net.sf.eclipsecs.core.comment" value="Restrict the number of number of &amp;&amp;, ||, &amp;, | and ^ in an expression."/>
      <property name="id" value="booleanexprcomplexity"/>
    </module>
    <module name="CyclomaticComplexity">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks cyclomatic complexity against a specified limit."/>
      <property name="id" value="cyclomatic"/>
    </module>
    <module name="ArrayTypeStyle">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks the style of array type definitions. 'String[] arr' instead of 'String arr[]'"/>
      <property name="id" value="arraytypes"/>
    </module>
    <module name="Indentation">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks correct indentation of Java Code."/>
      <property name="id" value="indent"/>
      <property name="basicOffset" value="2"/>
      <property name="caseIndent" value="2"/>
      <property name="arrayInitIndent" value="2"/>
    </module>
    <module name="UpperEll">
      <metadata name="net.sf.eclipsecs.core.comment" value="Checks that long constants are defined with an upper ell ('123L')"/>
      <property name="id" value="longconstant"/>
    </module>
    <module name="NonEmptyAtclauseDescription">
      <metadata name="net.sf.eclipsecs.core.comment" value="Verify that the clausedescription is not empty"/>
      <property name="id" value="emtyclausedescription"/>
    </module>
    <module name="JavadocStyle">
      <property name="tokens" value="CLASS_DEF,CTOR_DEF,INTERFACE_DEF,METHOD_DEF,VARIABLE_DEF"/>
    </module>
    <module name="JavadocMethod">
      <property name="validateThrows" value="true"/>
      <property name="suppressLoadErrors" value="true"/>
    </module>
    <module name="JavadocStyle"/>
    <module name="AtclauseOrder"/>
    <module name="AbstractClassName"/>
    <module name="ClassTypeParameterName"/>
    <module name="MethodTypeParameterName"/>
    <module name="InterfaceTypeParameterName"/>
  </module>
  <module name="FileTabCharacter">
    <metadata name="net.sf.eclipsecs.core.comment" value="Checks that there are no tab characters ('\t') in the source code."/>
  </module>
  <module name="NewlineAtEndOfFile">
    <metadata name="net.sf.eclipsecs.core.comment" value="Checks whether files end with a new line."/>
  </module>
  <module name="RegexpSingleline">
    <metadata name="net.sf.eclipsecs.core.comment" value="Check that there is nothing writing to System.out"/>
    <property name="severity" value="ignore"/>
    <property name="id" value="sysout"/>
    <property name="format" value="System\.out\."/>
    <property name="message" value="Illegal use of System.out. - use a logger instead!"/>
    <property name="fileExtensions" value="java"/>
    <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
  </module>
  <module name="RegexpSingleline">
    <metadata name="net.sf.eclipsecs.core.comment" value="Check that there is nothing writing to System.err"/>
    <property name="id" value="syserr"/>
    <property name="format" value="System\.err\."/>
    <property name="message" value="Illegal use of System.err. - use a logger instead!"/>
  </module>
  <module name="RegexpSingleline">
    <metadata name="net.sf.eclipsecs.core.comment" value="Check that there is nothing writing a stacktrace to System.err"/>
    <property name="id" value="sysstacktrace"/>
    <property name="format" value="\.printStackTrace\(\)"/>
    <property name="message" value="Illegal use of [exception].printStackTrace() - use a logger instead!"/>
  </module>
  <module name="RegexpSingleline">
    <metadata name="net.sf.eclipsecs.core.comment" value="Check whether a line has trailing spaces (exclude JavaDoc)"/>
    <property name="id" value="trailingspaces"/>
    <property name="format" value="(?!\*)[^$]\s+$"/>
    <property name="message" value="Line has trailing spaces."/>
  </module>
  <module name="Translation">
    <metadata name="net.sf.eclipsecs.core.comment" value="Check whether that a set of messages files contains the same keys"/>
    <property name="id" value="messages"/>
  </module>
  <module name="SeverityMatchFilter">
    <property name="severity" value="info"/>
    <property name="acceptOnMatch" value="false"/>
  </module>
</module>

Back to the top