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 11:20:28 UTC
[commons-pool] 01/03: Deprecate DEFAULT_MAX_WAIT_MILLIS in favor of
DEFAULT_MAX_WAIT.
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-pool.git
commit b40718eb114f66417f5cc049ca0727cdb6150a24
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jun 22 20:39:06 2021 -0400
Deprecate DEFAULT_MAX_WAIT_MILLIS in favor of DEFAULT_MAX_WAIT.
---
src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java b/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java
index 1a45bbc..ce85bc0 100644
--- a/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java
+++ b/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java
@@ -51,7 +51,9 @@ public abstract class BaseObjectPoolConfig<T> extends BaseObject implements Clon
* The default value for the {@code maxWait} configuration attribute.
* @see GenericObjectPool#getMaxWaitDuration()
* @see GenericKeyedObjectPool#getMaxWaitDuration()
+ * @deprecate Use {@link #DEFAULT_MAX_WAIT}.
*/
+ @Deprecated
public static final long DEFAULT_MAX_WAIT_MILLIS = -1L;
/**