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']"/>
|
or @Image='BigFraction']"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</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">
|
<rule ref="category/java/design.xml/GodClass">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="violationSuppressXPath"
|
<property name="violationSuppressXPath"
|
||||||
|
@ -133,15 +125,6 @@
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</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
|
<!-- Complex parse deliberately catches and re-throws a new NumberFormatException
|
||||||
to include the full input string in the exception message. -->
|
to include the full input string in the exception message. -->
|
||||||
<rule ref="category/java/design.xml/AvoidThrowingNewInstanceOfSameException">
|
<rule ref="category/java/design.xml/AvoidThrowingNewInstanceOfSameException">
|
||||||
|
|
Loading…
Reference in New Issue