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 2021/06/23 12:16:46 UTC
[commons-dbcp] 02/02: Fix Javadoc warnings.
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
commit 7790b7c6fc75c27f9ff053a1415beb940c3cd385
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jun 23 08:16:40 2021 -0400
Fix Javadoc warnings.
---
.../apache/commons/dbcp2/datasources/InstanceKeyDataSource.java | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
index f35da6d..352ae92 100644
--- a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
+++ b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
@@ -1037,7 +1037,13 @@ public abstract class InstanceKeyDataSource implements DataSource, Referenceable
}
/**
- * This method is protected but can only be implemented in this package because PooledConnectionAndInfo is a package private type.
+ * This method is protected but can only be implemented in this package because PooledConnectionAndInfo is a package
+ * private type.
+ *
+ * @param userName The user name.
+ * @param userPassword The user password.
+ * @return Matching PooledConnectionAndInfo.
+ * @throws SQLException Connection or registration failure.
*/
protected abstract PooledConnectionAndInfo getPooledConnectionAndInfo(String userName, String userPassword)
throws SQLException;