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


The following commit(s) were added to refs/heads/master by this push:
     new 18fe4f6  Rename new method.
18fe4f6 is described below

commit 18fe4f6ab6b275d9c54655e70710adffc6dd33e4
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Aug 8 11:43:07 2021 -0400

    Rename new method.
---
 .../org/apache/commons/pool2/impl/BaseObjectPoolConfig.java    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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 195c916..5968f9a 100644
--- a/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java
+++ b/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java
@@ -741,11 +741,11 @@ public abstract class BaseObjectPoolConfig<T> extends 
BaseObject implements Clon
      * @see GenericObjectPool#getEvictorShutdownTimeoutDuration()
      * @see GenericKeyedObjectPool#getEvictorShutdownTimeoutDuration()
      * @since 2.10.0
-     * @deprecated Use {@link #setEvictorShutdownTimeoutDuration(Duration)}.
+     * @deprecated Use {@link #setEvictorShutdownTimeout(Duration)}.
      */
     @Deprecated
     public void setEvictorShutdownTimeoutMillis(final Duration 
evictorShutdownTimeout) {
-        setEvictorShutdownTimeoutDuration(evictorShutdownTimeout);
+        setEvictorShutdownTimeout(evictorShutdownTimeout);
     }
 
     /**
@@ -760,7 +760,7 @@ public abstract class BaseObjectPoolConfig<T> extends 
BaseObject implements Clon
      * @see GenericKeyedObjectPool#getEvictorShutdownTimeoutDuration()
      * @since 2.11.0
      */
-    public void setEvictorShutdownTimeoutDuration(final Duration 
evictorShutdownTimeoutDuration) {
+    public void setEvictorShutdownTimeout(final Duration 
evictorShutdownTimeoutDuration) {
         this.evictorShutdownTimeoutDuration = 
PoolImplUtils.nonNull(evictorShutdownTimeoutDuration, 
DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT);
     }
 
@@ -774,11 +774,11 @@ public abstract class BaseObjectPoolConfig<T> extends 
BaseObject implements Clon
      *
      * @see GenericObjectPool#getEvictorShutdownTimeoutDuration()
      * @see GenericKeyedObjectPool#getEvictorShutdownTimeoutDuration()
-     * @deprecated Use {@link #setEvictorShutdownTimeoutDuration(Duration)}.
+     * @deprecated Use {@link #setEvictorShutdownTimeout(Duration)}.
      */
     @Deprecated
     public void setEvictorShutdownTimeoutMillis(final long 
evictorShutdownTimeoutMillis) {
-        
setEvictorShutdownTimeoutDuration(Duration.ofMillis(evictorShutdownTimeoutMillis));
+        
setEvictorShutdownTimeout(Duration.ofMillis(evictorShutdownTimeoutMillis));
     }
 
     /**

Reply via email to