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 5763ae7  Remove trailing whitespace. Clean up imports.
5763ae7 is described below

commit 5763ae77cda9883193172c94683e350b41136a3b
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Sun Feb 28 09:40:52 2021 -0500

    Remove trailing whitespace. Clean up imports.
---
 .../java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java    | 4 ++--
 src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java      | 6 +++---
 src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java  | 2 --
 3 files changed, 5 insertions(+), 7 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 8798675..b6857b0 100644
--- a/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java
+++ b/src/main/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java
@@ -100,7 +100,7 @@ public abstract class BaseObjectPoolConfig<T> extends 
BaseObject implements Clon
      * @see GenericKeyedObjectPool#getSoftMinEvictableIdleTime()
      * @since 2.10.0
      */
-    public static final Duration DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME = 
+    public static final Duration DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME =
             Duration.ofMillis(DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS);
 
     /**
@@ -177,7 +177,7 @@ public abstract class BaseObjectPoolConfig<T> extends 
BaseObject implements Clon
      * @see GenericObjectPool#getTimeBetweenEvictionRunsMillis()
      * @see GenericKeyedObjectPool#getTimeBetweenEvictionRunsMillis()
      */
-    public static final Duration DEFAULT_TIME_BETWEEN_EVICTION_RUNS = 
+    public static final Duration DEFAULT_TIME_BETWEEN_EVICTION_RUNS =
             Duration.ofMillis(DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS);
 
     /**
diff --git a/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java 
b/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java
index eb39b92..bae279f 100644
--- a/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java
+++ b/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java
@@ -65,7 +65,7 @@ class PoolImplUtils {
         }
         return (Class<?>) genericType;
     }
-    
+
     /**
      * Gets the concrete type used by an implementation of an interface that 
uses a generic type.
      *
@@ -108,7 +108,7 @@ class PoolImplUtils {
             return null;
         }
     }
-    
+
     /**
      * Gets the matching parameterized type or null.
      * @param type
@@ -164,7 +164,7 @@ class PoolImplUtils {
 
     /**
      * Converts a {@link TimeUnit} to a {@link ChronoUnit}.
-     * 
+     *
      * @param timeUnit A TimeUnit.
      * @return The corresponding ChronoUnit.
      */
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java 
b/src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java
index 09657ce..2fc13d4 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java
@@ -20,8 +20,6 @@ package org.apache.commons.pool2.impl;
 import java.lang.reflect.Field;
 import java.util.concurrent.ScheduledFuture;
 import java.util.concurrent.ThreadPoolExecutor;
-import java.util.concurrent.TimeUnit;
-
 import org.apache.commons.pool2.BasePooledObjectFactory;
 import org.apache.commons.pool2.PooledObject;
 import org.junit.jupiter.api.Test;

Reply via email to