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 2018/06/11 20:42:36 UTC

commons-dbcp git commit: Clean up comment typos.

Repository: commons-dbcp
Updated Branches:
  refs/heads/master 6c2fac139 -> 980dfe178


Clean up comment typos.

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

Branch: refs/heads/master
Commit: 980dfe178ee24578a8ac1c717f82afd2cd2d44ce
Parents: 6c2fac1
Author: Gary Gregory <ga...@gmail.com>
Authored: Mon Jun 11 14:42:33 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Mon Jun 11 14:42:33 2018 -0600

----------------------------------------------------------------------
 .../org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/980dfe17/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
index 95ae7a8..320b4f3 100644
--- a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
+++ b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
@@ -187,13 +187,13 @@ public class DriverAdapterCPDS implements ConnectionPoolDataSource, Referenceabl
             config.setMaxWaitMillis(0);
             config.setMaxIdlePerKey(getMaxIdle());
             if (getMaxPreparedStatements() <= 0) {
-                // since there is no limit, create a prepared statement pool with an eviction thread
+                // since there is no limit, create a prepared statement pool with an eviction thread;
                 // evictor settings are the same as the connection pool settings.
                 config.setTimeBetweenEvictionRunsMillis(getTimeBetweenEvictionRunsMillis());
                 config.setNumTestsPerEvictionRun(getNumTestsPerEvictionRun());
                 config.setMinEvictableIdleTimeMillis(getMinEvictableIdleTimeMillis());
             } else {
-                // since there is limit, create a prepared statement pool without an eviction thread
+                // since there is a limit, create a prepared statement pool without an eviction thread;
                 // pool has LRU functionality so when the limit is reached, 15% of the pool is cleared.
                 // see org.apache.commons.pool2.impl.GenericKeyedObjectPool.clearOldest method
                 config.setMaxTotal(getMaxPreparedStatements());