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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git


The following commit(s) were added to refs/heads/master by this push:
     new e09634c  Javadoc.
e09634c is described below

commit e09634cf37092b348044dbbd3549424de3d6fd27
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Sat Jun 5 08:40:51 2021 -0400

    Javadoc.
---
 .../commons/dbcp2/datasources/PooledConnectionAndInfo.java    | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/dbcp2/datasources/PooledConnectionAndInfo.java
 
b/src/main/java/org/apache/commons/dbcp2/datasources/PooledConnectionAndInfo.java
index bd1a35e..04d3d51 100644
--- 
a/src/main/java/org/apache/commons/dbcp2/datasources/PooledConnectionAndInfo.java
+++ 
b/src/main/java/org/apache/commons/dbcp2/datasources/PooledConnectionAndInfo.java
@@ -22,7 +22,7 @@ import javax.sql.PooledConnection;
 import org.apache.commons.dbcp2.Utils;
 
 /**
- * Immutable poolable object holding a PooledConnection along with the user 
name and password used to create the
+ * Immutable poolable object holding a {@link PooledConnection} along with the 
user name and password used to create the
  * connection.
  *
  * @since 2.0
@@ -34,6 +34,8 @@ final class PooledConnectionAndInfo {
     private final UserPassKey upKey;
 
     /**
+     * Constructs a new instance.
+     *
      * @since 2.4.0
      */
     PooledConnectionAndInfo(final PooledConnection pc, final String userName, 
final char[] userPassword) {
@@ -44,6 +46,8 @@ final class PooledConnectionAndInfo {
     }
 
     /**
+     * Constructs a new instance.
+     *
      * @deprecated Since 2.4.0
      */
     @Deprecated
@@ -51,6 +55,11 @@ final class PooledConnectionAndInfo {
         this(pc, userName, Utils.toCharArray(userPassword));
     }
 
+    /**
+     * Gets the pooled connection.
+     *
+     * @return
+     */
     PooledConnection getPooledConnection() {
         return pooledConnection;
     }

Reply via email to