Ref: add new static analyser rule: design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal

This commit is contained in:
Laurent Clouet
2024-06-06 03:15:23 +02:00
parent 4eff00bb6b
commit b0c4d68e0b
3 changed files with 3 additions and 2 deletions

View File

@@ -32,6 +32,7 @@
<rule ref="category/java/codestyle.xml/UselessQualifiedThis" />
<rule ref="category/java/design.xml/SimplifiedTernary" />
<rule ref="category/java/design.xml/UselessOverridingMethod" />
<rule ref="category/java/design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal" />
<rule ref="category/java/errorprone.xml/AvoidBranchingStatementAsLastInLoop" />
<rule ref="category/java/errorprone.xml/AvoidDecimalLiteralsInBigDecimalConstructor" />
<rule ref="category/java/errorprone.xml/AvoidMultipleUnaryOperators" />