Skip to content

Commit 4614b09

Browse files
committed
Sort Checkstyle entries
1 parent 68b655b commit 4614b09

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

src/conf/checkstyle.xml

+11-18
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,18 @@ limitations under the License.
2222

2323
<!-- commons codec customization of default Checkstyle behavior -->
2424
<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" />
2827
</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 -->
3328
<module name="Header">
3429
<property name="headerFile" value="${checkstyle.header.file}" />
3530
</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"/>
4035
</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" />
4337
<module name="RegexpSingleline">
4438
<property name="format" value="\s+$" />
4539
<property name="message" value="Line has trailing spaces." />
@@ -52,6 +46,9 @@ limitations under the License.
5246
<property name="fileExtensions" value="java" />
5347
<property name="severity" value="warning" />
5448
</module>
49+
<module name="SuppressionFilter">
50+
<property name="file" value="src/conf/checkstyle-suppressions.xml"/>
51+
</module>
5552
<module name="TreeWalker">
5653
<module name="AvoidStarImport" />
5754
<module name="ExplicitInitializationCheck" />
@@ -80,10 +77,6 @@ limitations under the License.
8077
<module name="WhitespaceAround" />
8178
<module name="WhitespaceAroundCheck" />
8279
</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" />
8881
</module>
8982

0 commit comments

Comments
 (0)