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 33e42789 Deprecate org.apache.commons.dbcp2.Jdbc41Bridge.Jdbc41Bridge(), constructor will be private in the next major release. 33e42789 is described below commit 33e42789c0851d7f501a87bf128e5cb239fcde87 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat Feb 1 11:13:42 2025 -0500 Deprecate org.apache.commons.dbcp2.Jdbc41Bridge.Jdbc41Bridge(), constructor will be private in the next major release. --- src/changes/changes.xml | 1 + src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3db3196f..cdd453bd 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -69,6 +69,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="fix" issue="DBCP-597" dev="ggregory" due-to="Gary Gregory">KeyedCPDSConnectionFactory.validateObject(UserPassKey, PooledObject) ignores timeouts less than 1 second when there is no validation query.</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Modernize tests to use JUnit 5 features.</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Javadoc is missing its Overview page.</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate org.apache.commons.dbcp2.Jdbc41Bridge.Jdbc41Bridge(), constructor will be private in the next major release.</action> <!-- ADD --> <!-- UPDATE --> <action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 78 to 79.</action> diff --git a/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java b/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java index e9f31466..67279da5 100644 --- a/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java +++ b/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java @@ -485,4 +485,14 @@ public class Jdbc41Bridge { } } + /** + * Deprecated, this class only contains static methods. + * + * @deprecated Constructor will be private in the next major release. + */ + @Deprecated + public Jdbc41Bridge() { + // empty + } + }