Skip to content

Commit

Permalink
PMD update: allow default constructors
Browse files Browse the repository at this point in the history
These allow building on JDK 21 without javadoc warnings.
  • Loading branch information
aherbert committed Jul 8, 2024
1 parent a157711 commit 8212fca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/conf/pmd/pmd-ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand All @@ -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="..." /> -->
Expand Down

0 comments on commit 8212fca

Please sign in to comment.