You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/05/31 16:04:46 UTC

[commons-dbcp] branch master updated: Update SpotBugs filter: Can't do anything about org.apache.commons.dbcp2.PoolingDriver.pools due to binary compatibility.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8d5c91b  Update SpotBugs filter: Can't do anything about org.apache.commons.dbcp2.PoolingDriver.pools due to binary compatibility.
8d5c91b is described below

commit 8d5c91bb17126e7b87745f73f5bcb1dca03236fb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon May 31 12:04:42 2021 -0400

    Update SpotBugs filter: Can't do anything about
    org.apache.commons.dbcp2.PoolingDriver.pools due to binary
    compatibility.
---
 findbugs-exclude-filter.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/findbugs-exclude-filter.xml b/findbugs-exclude-filter.xml
index cf1285d..89ba425 100644
--- a/findbugs-exclude-filter.xml
+++ b/findbugs-exclude-filter.xml
@@ -64,4 +64,10 @@
     <Method name="prepareStatement" />
     <Bug pattern="NP_NONNULL_RETURN_VIOLATION" />
   </Match>
+  <Match>
+    <!-- MUST keep for binary compatibility until 3.0.0 -->
+    <Class name="org.apache.commons.dbcp2.PoolingDriver" />
+    <Field name="pools" />
+    <Bug pattern="MS_MUTABLE_COLLECTION_PKGPROTECT" />
+  </Match>
 </FindBugsFilter>