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 2022/09/23 22:39:52 UTC

[commons-rng] branch master updated: spotbugs: Allow floating-point loop control in sampling example

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-rng.git


The following commit(s) were added to refs/heads/master by this push:
     new b329c214 spotbugs: Allow floating-point loop control in sampling example
b329c214 is described below

commit b329c21444f59a7980a752e700124e1ede0a4886
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri Sep 23 23:39:23 2022 +0100

    spotbugs: Allow floating-point loop control in sampling example
---
 src/main/resources/spotbugs/spotbugs-exclude-filter.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
index 6ed11442..660d892f 100644
--- a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
+++ b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
@@ -143,5 +143,10 @@
     </Or>
     <BugPattern name="FL_FLOATS_AS_LOOP_COUNTERS"/>
   </Match>
+  <Match>
+    <Class name="org.apache.commons.rng.examples.sampling.UniformSamplingVisualCheckCommand"/>
+    <Method name="call"/>
+    <BugPattern name="FL_FLOATS_AS_LOOP_COUNTERS"/>
+  </Match>
 
 </FindBugsFilter>