Skip to content

Commit

Permalink
Sort Checkstyle entries
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 28, 2024
1 parent 68b655b commit 4614b09
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions src/conf/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,18 @@ limitations under the License.

<!-- commons codec customization of default Checkstyle behavior -->
<module name="Checker">
<property name="localeLanguage" value="en" />
<module name="SuppressionFilter">
<property name="file" value="src/conf/checkstyle-suppressions.xml"/>
<module name="FileTabCharacter">
<property name="fileExtensions" value="java" />
</module>
<!-- Checks whether files end with a new line. -->
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
<module name="NewlineAtEndOfFile" />
<!-- Verify that EVERY source file has the appropriate license -->
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}" />
</module>
<!-- Checks for Tab characters -->
<!-- See http://checkstyle.sourceforge.net/config_whitespace.html#FileTabCharacter -->
<module name="FileTabCharacter">
<property name="fileExtensions" value="java" />
<module name="LineLength">
<!-- Ignore lines that begin with " * ", such as within a Javadoc comment. -->
<property name="ignorePattern" value="^ *\* *[^ ]"/>
<property name="max" value="160"/>
</module>
<!-- Checks for white space at the end of the line -->
<!-- See http://checkstyle.sourceforge.net/config_regexp.html -->
<module name="NewlineAtEndOfFile" />
<module name="RegexpSingleline">
<property name="format" value="\s+$" />
<property name="message" value="Line has trailing spaces." />
Expand All @@ -52,6 +46,9 @@ limitations under the License.
<property name="fileExtensions" value="java" />
<property name="severity" value="warning" />
</module>
<module name="SuppressionFilter">
<property name="file" value="src/conf/checkstyle-suppressions.xml"/>
</module>
<module name="TreeWalker">
<module name="AvoidStarImport" />
<module name="ExplicitInitializationCheck" />
Expand Down Expand Up @@ -80,10 +77,6 @@ limitations under the License.
<module name="WhitespaceAround" />
<module name="WhitespaceAroundCheck" />
</module>
<module name="LineLength">
<!-- Ignore lines that begin with " * ", such as within a Javadoc comment. -->
<property name="ignorePattern" value="^ *\* *[^ ]"/>
<property name="max" value="160"/>
</module>
<property name="localeLanguage" value="en" />
</module>

0 comments on commit 4614b09

Please # to comment.