Skip to content

Commit

Permalink
Merge pull request #972 from uhafner/Use-Explicit-Types
Browse files Browse the repository at this point in the history
Remove rule `UseExplicitTypes`
  • Loading branch information
uhafner authored Mar 30, 2024
2 parents 9225b67 + 9ce1325 commit e2de669
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/pmd-java-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<exclude name="ShortClassName"/>
<exclude name="ShortVariable"/>
<exclude name="UnnecessaryConstructor"/>
<exclude name="UseExplicitTypes"/>
</rule>
<rule ref="category/java/codestyle.xml/ClassNamingConventions">
<properties>
Expand Down
3 changes: 3 additions & 0 deletions etc/pmd-tests-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<exclude name="JUnitTestContainsTooManyAsserts"/>
<exclude name="JUnitTestsShouldIncludeAssert"/>
<exclude name="LiteralsFirstInComparisons"/>
<exclude name="LooseCoupling"/>
<exclude name="UnusedPrivateMethod"/>
</rule>
<rule ref="category/java/codestyle.xml">
Expand All @@ -32,6 +33,7 @@
<exclude name="ShortClassName"/>
<exclude name="ShortVariable"/>
<exclude name="UnnecessaryConstructor"/>
<exclude name="UseExplicitTypes"/>
</rule>
<rule ref="category/java/codestyle.xml/ClassNamingConventions">
<properties>
Expand Down Expand Up @@ -59,6 +61,7 @@
<exclude name="AvoidCatchingGenericException"/>
<exclude name="AvoidUncheckedExceptionsInSignatures"/>
<exclude name="ClassWithOnlyPrivateConstructorsShouldBeFinal"/>
<exclude name="DataClass"/>
<exclude name="ExcessiveImports"/>
<exclude name="ExcessiveMethodLength"/>
<exclude name="ExcessiveParameterList"/>
Expand Down

0 comments on commit e2de669

Please sign in to comment.