You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by th...@apache.org on 2019/12/30 21:58:12 UTC
[commons-dbutils] 02/02: Revert field from private to protected to
maintain binary compatibility in the next release. This was the only
breaking change.
This is an automated email from the ASF dual-hosted git repository.
thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git
commit de717d9f619df58efa7a4f0e1b5b82db9e7842ad
Author: Carl Hall <th...@apache.org>
AuthorDate: Mon Dec 30 13:54:30 2019 -0800
Revert field from private to protected to maintain binary compatibility
in the next release. This was the only breaking change.
---
src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java b/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java
index f7e5faa..b02bb38 100644
--- a/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java
+++ b/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java
@@ -48,8 +48,10 @@ public abstract class AbstractQueryRunner {
/**
* The DataSource to retrieve connections from.
+ * @deprecated Access to this field should be through {@link #getDataSource()}.
*/
- private final DataSource ds;
+ @Deprecated
+ protected final DataSource ds;
/**
* Configuration to use when preparing statements.