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 4124a54b Use Javadoc @link 4124a54b is described below commit 4124a54b96ff20cc9ebe61c91f93360d5bc04df3 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Jul 29 07:50:34 2024 -0400 Use Javadoc @link --- .../commons/dbcp2/datasources/InstanceKeyDataSource.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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 9ec3451b..63620952 100644 --- a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java +++ b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java @@ -1109,18 +1109,15 @@ public abstract class InstanceKeyDataSource implements DataSource, Referenceable /** * <p> - * Sets the maximum permitted lifetime of a connection. A value of zero or less indicates an - * infinite lifetime. + * Sets the maximum permitted lifetime of a connection. A value of zero or less indicates an infinite lifetime. * </p> * <p> - * Note: this method currently has no effect once the pool has been initialized. The pool is initialized the first - * time one of the following methods is invoked: <code>getConnection, setLogwriter, - * setLoginTimeout, getLoginTimeout, getLogWriter.</code> + * Note: this method currently has no effect once the pool has been initialized. The pool is initialized the first time one of the following methods is + * invoked: {@link #getConnection()}, {@link #setLogWriter(PrintWriter)}, {@link #setLoginTimeout(Duration)}, {@link #getLoginTimeoutDuration()}, + * {@link #getLogWriter()}. * </p> * - * @param maxConnLifetimeMillis - * The maximum permitted lifetime of a connection. A value of zero or less indicates an - * infinite lifetime. + * @param maxConnLifetimeMillis The maximum permitted lifetime of a connection. A value of zero or less indicates an infinite lifetime. * @since 2.9.0 */ public void setMaxConnLifetime(final Duration maxConnLifetimeMillis) {