Remove non-applicable rules (SpotBugs).
This commit is contained in:
parent
26708f4b8d
commit
82ab48ce86
|
@ -31,16 +31,6 @@
|
|||
</Match>
|
||||
|
||||
<!-- Deliberately floating-point equality checks. -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.numbers.rootfinder.BrentSolver"/>
|
||||
<Method name="brent"/>
|
||||
<BugPattern name="FE_FLOATING_POINT_EQUALITY"/>
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.numbers.complex.Complex"/>
|
||||
<Method name="sqrt"/>
|
||||
<BugPattern name="FE_FLOATING_POINT_EQUALITY"/>
|
||||
</Match>
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math4.neuralnet.twod.NeuronSquareMesh2D"/>
|
||||
<Method name="createLinks"/>
|
||||
|
@ -58,12 +48,6 @@
|
|||
<BugPattern name="CNT_ROUGH_CONSTANT_VALUE"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<!-- Benchmark state classes can expose internal representations -->
|
||||
<Class name="~org.apache.commons.numbers.examples.jmh..*Performance.*"/>
|
||||
<BugPattern name="EI_EXPOSE_REP"/>
|
||||
</Match>
|
||||
|
||||
<!-- Disable checks for exposure of internal references.
|
||||
TODO: Revise this to use more targeted exclusions. -->
|
||||
<Match>
|
||||
|
|
Loading…
Reference in New Issue