Skip to content

Commit

Permalink
Bumped bld to version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Jul 30, 2024
1 parent 4298523 commit c04fa16
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions config/pmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,13 @@
</properties>
</rule>

<rule ref="category/java/bestpractices.xml/ReplaceHashtableWithMap">
<properties>
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration['java.util.Properties']"/>
</properties>
</rule>


<!-- CODE STYLE -->
<rule ref="category/java/codestyle.xml">
<exclude name="AtLeastOneConstructor"/>
<exclude name="ClassNamingConventions"/>
<exclude name="ConfusingTernary"/>
<exclude name="CommentDefaultAccessModifier"/>
<exclude name="ConfusingTernary"/>
<exclude name="FieldNamingConventions"/>
<exclude name="LocalVariableCouldBeFinal"/>
<exclude name="LongVariable"/>
Expand All @@ -41,8 +35,9 @@
<exclude name="ShortClassName"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortVariable"/>
<exclude name="UselessParentheses"/>
<exclude name="UseExplicitTypes"/>
<exclude name="UseUnderscoresInNumericLiterals"/>
<exclude name="UselessParentheses"/>
</rule>

<rule ref="category/java/codestyle.xml/UnnecessaryImport">
Expand All @@ -58,8 +53,6 @@
<exclude name="AvoidUncheckedExceptionsInSignatures"/>
<exclude name="CognitiveComplexity"/>
<exclude name="CyclomaticComplexity"/>
<exclude name="ExcessiveClassLength"/>
<exclude name="ExcessiveMethodLength"/>
<exclude name="ExcessiveParameterList"/>
<exclude name="ExcessivePublicCount"/>
<exclude name="GodClass"/>
Expand Down Expand Up @@ -113,4 +106,4 @@
<!-- SECURITY -->
<rule ref="category/java/security.xml">
</rule>
</ruleset>
</ruleset>

0 comments on commit c04fa16

Please sign in to comment.