Repository: commons-dbcp
Updated Branches:
  refs/heads/master 61116129b -> 6c1ac6483


Javadoc: Use the active voice.

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

Branch: refs/heads/master
Commit: 6c1ac64836402a0bc71608978668bc54bb90154a
Parents: 6111612
Author: Gary Gregory <garydgreg...@gmail.com>
Authored: Wed Apr 18 17:34:16 2018 -0600
Committer: Gary Gregory <garydgreg...@gmail.com>
Committed: Wed Apr 18 17:34:16 2018 -0600

----------------------------------------------------------------------
 .../dbcp2/datasources/PerUserPoolDataSource.java        | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/6c1ac648/src/main/java/org/apache/commons/dbcp2/datasources/PerUserPoolDataSource.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/dbcp2/datasources/PerUserPoolDataSource.java 
b/src/main/java/org/apache/commons/dbcp2/datasources/PerUserPoolDataSource.java
index 7328987..d7b7540 100644
--- 
a/src/main/java/org/apache/commons/dbcp2/datasources/PerUserPoolDataSource.java
+++ 
b/src/main/java/org/apache/commons/dbcp2/datasources/PerUserPoolDataSource.java
@@ -98,7 +98,7 @@ public class PerUserPoolDataSource extends 
InstanceKeyDataSource {
     }
 
     /**
-     * Close pool(s) being maintained by this datasource.
+     * Closes pool(s) being maintained by this datasource.
      */
     @Override
     public void close() {
@@ -843,14 +843,14 @@ public class PerUserPoolDataSource extends 
InstanceKeyDataSource {
     // Instrumentation Methods
 
     /**
-     * Get the number of active connections in the default pool.
+     * Gets the number of active connections in the default pool.
      */
     public int getNumActive() {
         return getNumActive(null);
     }
 
     /**
-     * Get the number of active connections in the pool for a given user.
+     * Gets the number of active connections in the pool for a given user.
      */
     public int getNumActive(final String username) {
         final ObjectPool<PooledConnectionAndInfo> pool =
@@ -859,14 +859,14 @@ public class PerUserPoolDataSource extends 
InstanceKeyDataSource {
     }
 
     /**
-     * Get the number of idle connections in the default pool.
+     * Gets the number of idle connections in the default pool.
      */
     public int getNumIdle() {
         return getNumIdle(null);
     }
 
     /**
-     * Get the number of idle connections in the pool for a given user.
+     * Gets the number of idle connections in the pool for a given user.
      */
     public int getNumIdle(final String username) {
         final ObjectPool<PooledConnectionAndInfo> pool =
@@ -995,7 +995,7 @@ public class PerUserPoolDataSource extends 
InstanceKeyDataSource {
     }
 
     /**
-     * Create a pool key from the provided parameters.
+     * Creates a pool key from the provided parameters.
      *
      * @param username  User name
      * @return  The pool key

Reply via email to