This is an automated email from the ASF dual-hosted git repository. erans pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit 82ab48ce86d3e629e6dcb4a353591200e03bd319 Author: Gilles Sadowski <gillese...@gmail.com> AuthorDate: Sat Oct 16 10:39:20 2021 +0200 Remove non-applicable rules (SpotBugs). --- src/main/resources/spotbugs/spotbugs-exclude-filter.xml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml index 0a9f57f..3de6902 100644 --- a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml +++ b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml @@ -32,16 +32,6 @@ <!-- 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="SF_SWITCH_FALLTHROUGH"/> @@ -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>