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 2019/03/18 13:07:43 UTC

[commons-rng] 03/03: Updated spotbugs filter for the ConstructionPerformance benchmark.

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

commit 5295357fac53d43041c91d56ca04d064fb4527f7
Author: aherbert <ah...@apache.org>
AuthorDate: Mon Mar 18 13:07:37 2019 +0000

    Updated spotbugs filter for the ConstructionPerformance benchmark.
---
 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 041268a..4bc9fcc 100644
--- a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
+++ b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
@@ -30,4 +30,10 @@
     <Class name="~.*\.jmh\..*generated\..*" />
   </Match>
 
+  <Match>
+    <!-- Direct access to an internal array is required for the benchmark. -->
+    <Class name="org.apache.commons.rng.examples.jmh.ConstructionPerformance$Sources" />
+    <BugPattern name="EI_EXPOSE_REP"/>
+  </Match>
+
 </FindBugsFilter>