This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push: new 8212fcad PMD update: allow default constructors 8212fcad is described below commit 8212fcad5273ee09c1ce4cb40e49cc2ead3f4bf7 Author: Alex Herbert <aherb...@apache.org> AuthorDate: Mon Jul 8 15:51:36 2024 +0100 PMD update: allow default constructors These allow building on JDK 21 without javadoc warnings. --- src/conf/pmd/pmd-ruleset.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/conf/pmd/pmd-ruleset.xml b/src/conf/pmd/pmd-ruleset.xml index 1874eb25..afa7bb9b 100644 --- a/src/conf/pmd/pmd-ruleset.xml +++ b/src/conf/pmd/pmd-ruleset.xml @@ -39,6 +39,8 @@ <exclude name="GenericsNaming" /> <exclude name="OnlyOneReturn" /> <exclude name="UseUnderscoresInNumericLiterals" /> + <!-- Constructors are added to avoid javadoc warnings on JDK 21 --> + <exclude name="UnnecessaryConstructor" /> </rule> <rule ref="category/java/design.xml"> <exclude name="TooManyMethods" /> @@ -47,6 +49,8 @@ </rule> <rule ref="category/java/documentation.xml"> <exclude name="CommentSize" /> + <!-- Constructors are added to avoid javadoc warnings on JDK 21 --> + <exclude name="UncommentedEmptyConstructor" /> </rule> <rule ref="category/java/errorprone.xml"> <!-- <exclude name="..." /> -->