commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject commons-dbcp git commit: [DBCP-483] Make constant public: org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX.
Date Sun, 21 Jan 2018 20:53:24 GMT
Repository: commons-dbcp
Updated Branches:
  refs/heads/master d8e760bd1 -> fa2fafcf1


[DBCP-483] Make constant public:
org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX.

Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/fa2fafcf
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/fa2fafcf
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/fa2fafcf

Branch: refs/heads/master
Commit: fa2fafcf1e1eae47296fc8ed1d609225ea381971
Parents: d8e760b
Author: Gary Gregory <garydgregory@gmail.com>
Authored: Sun Jan 21 13:53:22 2018 -0700
Committer: Gary Gregory <garydgregory@gmail.com>
Committed: Sun Jan 21 13:53:22 2018 -0700

----------------------------------------------------------------------
 src/changes/changes.xml                                   | 3 +++
 src/main/java/org/apache/commons/dbcp2/PoolingDriver.java | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/fa2fafcf/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 15234ac..60aaa3f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -64,6 +64,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="ggregory" type="fix" issue="DBCP-482" due-to="Dennis Lloyd, Gary Gregory">
         Avoid javax.management.InstanceNotFoundException on shutdown when a bean is not registered.
       </action>
+      <action dev="ggregory" type="update" issue="DBCP-483">
+        Make constant public: org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX.
+      </action>
     </release>
     <release version="2.2.0" date="2017-12-DD" description="This is a minor release, including
bug fixes and enhancements.">
       <action dev="ggregory" type="fix" issue="DBCP-481" due-to="Gary Gregory">

http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/fa2fafcf/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java b/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
index 4ec6faa..c1f92d2 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
@@ -194,7 +194,7 @@ public class PoolingDriver implements Driver {
     }
 
     /** My URL prefix */
-    protected static final String URL_PREFIX = "jdbc:apache:commons:dbcp:";
+    public static final String URL_PREFIX = "jdbc:apache:commons:dbcp:";
     protected static final int URL_PREFIX_LEN = URL_PREFIX.length();
 
     // version numbers


Mime
View raw message