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 2023/09/06 14:11:56 UTC

[commons-dbcp] branch master updated (7f3223d2 -> a9813c9d)

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

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


    from 7f3223d2 Add comment
     new 313efa94 Remove @SuppressWarnings
     new b9b0bc94 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git
     new e52de7b4 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git
     new b7d74a53 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git
     new f3154077 Update DTD
     new a9813c9d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/conf/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[commons-dbcp] 01/06: Remove @SuppressWarnings

Posted by gg...@apache.org.
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

commit 313efa9498856bc8e62ca8f4d71bfe44b686675b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 25 12:09:30 2023 -0400

    Remove @SuppressWarnings
---
 .../java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java   | 1 -
 src/test/java/org/apache/commons/dbcp2/TestListException.java         | 4 +---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java b/src/test/java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java
index bb1d91ea..a5902903 100644
--- a/src/test/java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java
+++ b/src/test/java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java
@@ -222,7 +222,6 @@ public class TestAbandonedBasicDataSource extends TestBasicDataSource {
         final DelegatingConnection<?> conn = (DelegatingConnection<?>) ds.getConnection();
         final PoolableConnection poolableConn = (PoolableConnection) conn.getDelegate();
         final PoolingConnection poolingConn = (PoolingConnection) poolableConn.getDelegate();
-        @SuppressWarnings("unchecked")
         final KeyedObjectPool<PStmtKey, DelegatingPreparedStatement>  gkop = poolingConn.getStatementPool();
         Assertions.assertEquals(0, conn.getTrace().size());
         Assertions.assertEquals(0, gkop.getNumActive());
diff --git a/src/test/java/org/apache/commons/dbcp2/TestListException.java b/src/test/java/org/apache/commons/dbcp2/TestListException.java
index bf924bdb..45984197 100644
--- a/src/test/java/org/apache/commons/dbcp2/TestListException.java
+++ b/src/test/java/org/apache/commons/dbcp2/TestListException.java
@@ -33,9 +33,7 @@ public class TestListException {
 
     @Test
     public void testExceptionList() {
-        @SuppressWarnings("unchecked")
-        final
-        List<Throwable> exceptions = Arrays.asList(new NullPointerException(), new RuntimeException());
+        final List<Throwable> exceptions = Arrays.asList(new NullPointerException(), new RuntimeException());
         final ListException list = new ListException("Internal Error", exceptions);
         assertEquals("Internal Error", list.getMessage());
         assertArrayEquals(exceptions.toArray(), list.getExceptionList().toArray());


[commons-dbcp] 03/06: Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

Posted by gg...@apache.org.
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

commit e52de7b4f3515efef06638c8ff9184f81d3c979a
Merge: b9b0bc94 7a75d75a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Aug 29 07:57:23 2023 -0400

    Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

 README.md                                          | 268 +++++++++------
 RELEASE-NOTES.txt                                  |  83 +++++
 pom.xml                                            |   3 +-
 src/changes/changes.xml                            |  15 +-
 .../apache/commons/dbcp2/DelegatingConnection.java |   4 +-
 .../apache/commons/dbcp2/DelegatingResultSet.java  |   2 +-
 .../apache/commons/dbcp2/PoolableConnection.java   |   2 +-
 .../commons/dbcp2/PoolablePreparedStatement.java   |   2 +-
 .../apache/commons/dbcp2/PoolingConnection.java    |   2 +-
 .../commons/dbcp2/cpdsadapter/ConnectionImpl.java  |   2 +-
 .../dbcp2/cpdsadapter/PooledConnectionImpl.java    |   4 +-
 .../datasources/KeyedCPDSConnectionFactory.java    |   2 +-
 .../dbcp2/datasources/PerUserPoolDataSource.java   |   2 +-
 .../dbcp2/managed/LocalXAConnectionFactory.java    |   4 +-
 .../commons/dbcp2/managed/ManagedConnection.java   |   8 +-
 .../commons/dbcp2/managed/TransactionRegistry.java |   2 +-
 .../commons/dbcp2/managed/XAConnectionFactory.java |   4 +-
 src/site/xdoc/download_dbcp.xml                    | 272 +++++++--------
 src/site/xdoc/issue-tracking.xml                   |   2 +-
 src/site/xdoc/mail-lists.xml                       |   2 +-
 .../dbcp2/TestAbandonedBasicDataSource.java        | 149 +++++---
 .../apache/commons/dbcp2/TestAbandonedTrace.java   |   9 +-
 .../apache/commons/dbcp2/TestBasicDataSource.java  |  48 +--
 .../apache/commons/dbcp2/TestConnectionPool.java   | 382 ++++++++++-----------
 .../dbcp2/TestDataSourceConnectionFactory.java     |  24 +-
 .../dbcp2/TestDelegatingCallableStatement.java     |   6 +-
 .../datasources/TestPerUserPoolDataSource.java     |  48 ++-
 .../dbcp2/managed/TestManagedDataSourceInTx.java   | 165 +++++----
 .../managed/TestPoolableManagedConnection.java     |   4 +-
 29 files changed, 832 insertions(+), 688 deletions(-)


[commons-dbcp] 06/06: Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

Posted by gg...@apache.org.
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

commit a9813c9dabfd7c2bad8f8006d05de80d3990ab27
Merge: f3154077 7f3223d2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Sep 6 10:11:41 2023 -0400

    Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

 pom.xml                       | 23 ++++++++---------------
 src/changes/changes.xml       |  8 ++++++++
 src/main/assembly/src-zip.xml | 11 +++++------
 3 files changed, 21 insertions(+), 21 deletions(-)


[commons-dbcp] 04/06: Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

Posted by gg...@apache.org.
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

commit b7d74a535dcdd9f79e57ba27075f88e506ab09af
Merge: e52de7b4 a37da57b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Sep 1 10:45:44 2023 -0400

    Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

 .github/workflows/codeql-analysis.yml     | 6 +++---
 .github/workflows/scorecards-analysis.yml | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


[commons-dbcp] 05/06: Update DTD

Posted by gg...@apache.org.
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

commit f3154077d04c1ade058e7b70f5e2a6367c81486c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Sep 1 11:01:32 2023 -0400

    Update DTD
---
 src/conf/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 1d2923cd..319a4c1e 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -15,7 +15,7 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.2//EN" "https://checkstyle.org/dtds/configuration_1_2.dtd">
+<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
 
 <!--
   Checkstyle checks configured for Maven.


[commons-dbcp] 02/06: Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

Posted by gg...@apache.org.
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

commit b9b0bc94c7e7ccb608e5d9f8ed1ab0dce6f3f8f8
Merge: 313efa94 4ed5351e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 25 12:09:38 2023 -0400

    Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-dbcp.git

 .github/workflows/codeql-analysis.yml     | 2 +-
 .github/workflows/coverage.yml            | 2 +-
 .github/workflows/maven.yml               | 2 +-
 .github/workflows/scorecards-analysis.yml | 2 +-
 pom.xml                                   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)