This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-codec.git
commit 4614b096c2acf216cd2e5464d1584ffd8edfdebc Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat Dec 28 07:59:54 2024 -0500 Sort Checkstyle entries --- src/conf/checkstyle.xml | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml index 61721eb9..d97aad96 100644 --- a/src/conf/checkstyle.xml +++ b/src/conf/checkstyle.xml @@ -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." /> @@ -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" /> @@ -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>