ExcessiveMethodLength/ClassLength are deprecated

Too dependent on coding style ... [skip ci]
This commit is contained in:
Sebb 2023-12-23 22:54:30 +00:00
parent 78dcee60d8
commit a1e0382ae4
1 changed files with 0 additions and 17 deletions

View File

@ -97,14 +97,6 @@
or @Image='BigFraction']"/>
</properties>
</rule>
<rule ref="category/java/design.xml/ExcessiveClassLength">
<properties>
<property name="violationSuppressXPath"
value="//ClassOrInterfaceType[@Image='Complex'
or @Image='Fraction'
or @Image='BigFraction']"/>
</properties>
</rule>
<rule ref="category/java/design.xml/GodClass">
<properties>
<property name="violationSuppressXPath"
@ -133,15 +125,6 @@
</properties>
</rule>
<!-- Long methods are based on reference implementations. -->
<rule ref="category/java/design.xml/ExcessiveMethodLength">
<properties>
<property name="violationSuppressXPath"
value="//ClassOrInterfaceType[@Image='Complex'
or @Image='BigFraction']"/>
</properties>
</rule>
<!-- Complex parse deliberately catches and re-throws a new NumberFormatException
to include the full input string in the exception message. -->
<rule ref="category/java/design.xml/AvoidThrowingNewInstanceOfSameException">