Remove non-applicable rules (SpotBugs).
</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"/>
<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>
