@@ -22,24 +22,18 @@ limitations under the License.
22
22
23
23
<!-- commons codec customization of default Checkstyle behavior -->
24
24
<module name =" Checker" >
25
- <property name =" localeLanguage" value =" en" />
26
- <module name =" SuppressionFilter" >
27
- <property name =" file" value =" src/conf/checkstyle-suppressions.xml" />
25
+ <module name =" FileTabCharacter" >
26
+ <property name =" fileExtensions" value =" java" />
28
27
</module >
29
- <!-- Checks whether files end with a new line. -->
30
- <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
31
- <module name =" NewlineAtEndOfFile" />
32
- <!-- Verify that EVERY source file has the appropriate license -->
33
28
<module name =" Header" >
34
29
<property name =" headerFile" value =" ${checkstyle.header.file}" />
35
30
</module >
36
- <!-- Checks for Tab characters -- >
37
- <!-- See http://checkstyle.sourceforge.net/config_whitespace.html#FileTabCharacter -->
38
- < module name =" FileTabCharacter " >
39
- <property name =" fileExtensions " value =" java " />
31
+ <module name = " LineLength " >
32
+ <!-- Ignore lines that begin with " * ", such as within a Javadoc comment. -->
33
+ < property name =" ignorePattern " value = " ^ *\* *[^ ] " / >
34
+ <property name =" max " value =" 160 " />
40
35
</module >
41
- <!-- Checks for white space at the end of the line -->
42
- <!-- See http://checkstyle.sourceforge.net/config_regexp.html -->
36
+ <module name =" NewlineAtEndOfFile" />
43
37
<module name =" RegexpSingleline" >
44
38
<property name =" format" value =" \s+$" />
45
39
<property name =" message" value =" Line has trailing spaces." />
@@ -52,6 +46,9 @@ limitations under the License.
52
46
<property name =" fileExtensions" value =" java" />
53
47
<property name =" severity" value =" warning" />
54
48
</module >
49
+ <module name =" SuppressionFilter" >
50
+ <property name =" file" value =" src/conf/checkstyle-suppressions.xml" />
51
+ </module >
55
52
<module name =" TreeWalker" >
56
53
<module name =" AvoidStarImport" />
57
54
<module name =" ExplicitInitializationCheck" />
@@ -80,10 +77,6 @@ limitations under the License.
80
77
<module name =" WhitespaceAround" />
81
78
<module name =" WhitespaceAroundCheck" />
82
79
</module >
83
- <module name =" LineLength" >
84
- <!-- Ignore lines that begin with " * ", such as within a Javadoc comment. -->
85
- <property name =" ignorePattern" value =" ^ *\* *[^ ]" />
86
- <property name =" max" value =" 160" />
87
- </module >
80
+ <property name =" localeLanguage" value =" en" />
88
81
</module >
89
82
0 commit comments