ExcessiveMethodLength/ClassLength are deprecated
Too dependent on coding style ... [skip ci]
This commit is contained in:
parent
78dcee60d8
commit
a1e0382ae4
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue