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 2020/02/18 00:16:21 UTC

[commons-geometry] 08/08: Add spot bugs exclusions.

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

commit ead4022ad637c0a74e4b5708c5a3f8dc850dc414
Author: Alex Herbert <a....@sussex.ac.uk>
AuthorDate: Tue Feb 18 00:11:20 2020 +0000

    Add spot bugs exclusions.
---
 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 9993593..138dfed 100644
--- a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
+++ b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
@@ -28,4 +28,10 @@
 
   <Class name="~.*\.jmh\.generated\..*" />
 
+  <Match>
+    <!-- This is a false positive -->
+    <Class name="org.apache.commons.geometry.core.partitioning.bsp.AbstractBSPTree"/>
+    <BugPattern name="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
+  </Match>
+
 </FindBugsFilter>