You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/06/09 14:09:47 UTC

[commons-math] branch master updated: neuralnet.twod.NeuronSquareMesh2D: Allow switch statement fallthrough

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git


The following commit(s) were added to refs/heads/master by this push:
     new ff7adb8  neuralnet.twod.NeuronSquareMesh2D: Allow switch statement fallthrough
ff7adb8 is described below

commit ff7adb8f9d459f80ee3cc83fb0f7be6824afffd2
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Jun 9 15:02:38 2021 +0100

    neuralnet.twod.NeuronSquareMesh2D: Allow switch statement fallthrough
---
 src/main/resources/spotbugs/spotbugs-exclude-filter.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
index c3012e8..ce34778 100644
--- a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
+++ b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
@@ -41,6 +41,12 @@
     <Method name="sqrt"/>
     <BugPattern name="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
+  <Match>
+    <!-- Benchmark state classes can expose internal representations -->
+    <Class name="org.apache.commons.math4.neuralnet.twod.NeuronSquareMesh2D"/>
+    <Method name="createLinks"/>
+    <BugPattern name="SF_SWITCH_FALLTHROUGH"/>
+  </Match>
 
   <Match>
     <!-- Benchmark state classes can expose internal representations -->