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-fileupload.git
The following commit(s) were added to refs/heads/master by this push: new 6ecbd995 Comments and indentation 6ecbd995 is described below commit 6ecbd99524c97396c18d891030acf8660aa59927 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jul 21 14:49:33 2024 -0400 Comments and indentation --- src/conf/pmd-ruleset.xml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/conf/pmd-ruleset.xml b/src/conf/pmd-ruleset.xml index 89eb9b8d..ba2aae36 100644 --- a/src/conf/pmd-ruleset.xml +++ b/src/conf/pmd-ruleset.xml @@ -63,7 +63,7 @@ <rule ref="category/java/multithreading.xml/DontCallThreadRun"/> <rule ref="category/java/multithreading.xml/DoubleCheckedLocking"/> <rule ref="category/java/performance.xml/BigIntegerInstantiation"/> - <!-- Rule customisations. --> + <!-- Custom rules. --> <rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName"> <properties> <!-- java.lang annotations have the same name as BCEL classes so must be fully @@ -76,16 +76,15 @@ or @SimpleName='ClassLoader' or @SimpleName='ClassLoaderRepository' or @SimpleName='JavaWrapper']"/> </properties> </rule> - <!-- Apache Commons Compress custom --> - <rule ref="category/java/errorprone.xml/EmptyCatchBlock"> - <properties> - <property name="allowCommentedBlocks" value="true" /> - <property name="allowExceptionNameRegex" value="^(ignored|expected)$" /> - </properties> - </rule> - <rule ref="category/java/codestyle.xml/EmptyControlStatement"> - <properties> - <property name="allowCommentedBlocks" value="true" /> - </properties> - </rule> + <rule ref="category/java/errorprone.xml/EmptyCatchBlock"> + <properties> + <property name="allowCommentedBlocks" value="true" /> + <property name="allowExceptionNameRegex" value="^(ignored|expected)$" /> + </properties> + </rule> + <rule ref="category/java/codestyle.xml/EmptyControlStatement"> + <properties> + <property name="allowCommentedBlocks" value="true" /> + </properties> + </rule> </ruleset>