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/13 17:28:47 UTC
[25/50] [abbrv] commons-dbcp git commit: Add missing Javadoc tags.
Add missing Javadoc tags.
Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/f20a5698
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/f20a5698
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/f20a5698
Branch: refs/heads/release
Commit: f20a569806d5cb3f5ccaf1cfb54946867b78cc91
Parents: 5ccf73a
Author: Gary Gregory <ga...@gmail.com>
Authored: Mon Jun 11 18:08:01 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Mon Jun 11 18:08:01 2018 -0600
----------------------------------------------------------------------
.../org/apache/commons/dbcp2/PoolableConnectionFactory.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/f20a5698/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java b/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
index 2f5288b..41d74a5 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
@@ -178,6 +178,9 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo
/**
* Sets the maximum lifetime in milliseconds of a connection after which the connection will always fail activation,
* passivation and validation. A value of zero or less indicates an infinite lifetime. The default value is -1.
+ *
+ * @param maxConnLifetimeMillis
+ * The maximum lifetime in milliseconds.
*/
public void setMaxConnLifetimeMillis(final long maxConnLifetimeMillis) {
this.maxConnLifetimeMillis = maxConnLifetimeMillis;
@@ -230,8 +233,9 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo
}
/**
- * @see #getDisconnectionSqlCodes()
* @param disconnectionSqlCodes
+ * The disconnection SQL codes.
+ * @see #getDisconnectionSqlCodes()
* @since 2.1
*/
public void setDisconnectionSqlCodes(final Collection<String> disconnectionSqlCodes) {