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:10 UTC

[commons-dbutils] branch master updated (dd3cd5d -> de717d9)

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

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


    from dd3cd5d  Duplicate travis-jacoco profile to force dependency on jaxb-api to solve build with coveralls
     new d68ea02  Update versions and maven prereq based on versions scan. Remove deprecated property from checkstyle config https://github.com/checkstyle/checkstyle/issues/7329
     new de717d9  Revert field from private to protected to maintain binary compatibility in the next release. This was the only breaking change.

The 2 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:
 checkstyle.xml                                                    | 1 -
 pom.xml                                                           | 8 ++++++--
 src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java | 4 +++-
 3 files changed, 9 insertions(+), 4 deletions(-)


[commons-dbutils] 01/02: Update versions and maven prereq based on versions scan. Remove deprecated property from checkstyle config https://github.com/checkstyle/checkstyle/issues/7329

Posted by th...@apache.org.
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 d68ea02cb96adeaa04e43719e56d475b82ac1f35
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Dec 29 21:21:59 2019 -0800

    Update versions and maven prereq based on versions scan.
    Remove deprecated property from checkstyle config
    https://github.com/checkstyle/checkstyle/issues/7329
---
 checkstyle.xml | 1 -
 pom.xml        | 8 ++++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/checkstyle.xml b/checkstyle.xml
index d5c2748..487384f 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -91,7 +91,6 @@
           <!-- See http://checkstyle.sf.net/config_javadoc.html -->
           <module name="JavadocMethod">
               <property name="scope" value="protected"/>
-              <property name="allowUndeclaredRTE" value="true"/>
           </module>
           <module name="JavadocType">
               <property name="scope" value="protected"/>
diff --git a/pom.xml b/pom.xml
index cf3db32..09d5396 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,6 +37,10 @@
     <url>https://issues.apache.org/jira/browse/DBUTILS</url>
   </issueManagement>
 
+  <prerequisites>
+    <maven>3.3.9</maven>
+  </prerequisites>
+
   <scm>
     <connection>scm:git:git://git.apache.org/commons-dbutils.git</connection>
     <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-dbutils.git</developerConnection>
@@ -238,8 +242,8 @@
     <maven.compiler.source>1.7</maven.compiler.source>
     <maven.compiler.target>1.7</maven.compiler.target>
 
-    <dbutils.spotbugs.version>3.1.12</dbutils.spotbugs.version>
-    <dbutils.checkstyle.version>8.27</dbutils.checkstyle.version>
+    <dbutils.spotbugs.version>3.1.12.2</dbutils.spotbugs.version>
+    <dbutils.checkstyle.version>8.28</dbutils.checkstyle.version>
 
     <!-- generate report even if there are binary incompatible changes -->
     <commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>


[commons-dbutils] 02/02: Revert field from private to protected to maintain binary compatibility in the next release. This was the only breaking change.

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