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 2025/12/26 21:19:43 UTC

(commons-pool) 02/04: Comment: Normalize spelling

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch POOL_2_X
in repository https://gitbox.apache.org/repos/asf/commons-pool.git

commit 43a54301c8d1e20f50fd5666f10eda33cfac2e20
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 26 16:07:55 2025 -0500

    Comment: Normalize spelling
---
 src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 e7680200..24853b64 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java
@@ -84,7 +84,7 @@ class TestEvictionTimer {
             EvictionTimer.cancel(evictor1, BaseObjectPoolConfig.DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT, false);
 
             // Assert that eviction objects are correctly cleaned
-            // 1 - the evictor timer task is cancelled
+            // 1 - the evictor timer task is canceled
             sf = (ScheduledFuture<?>) evictorTaskFutureField.get(evictor1);
             assertTrue(sf.isCancelled());
             // 2- and, the eviction action is removed from executor thread pool
@@ -96,7 +96,7 @@ class TestEvictionTimer {
             EvictionTimer.cancel(evictor2, BaseObjectPoolConfig.DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT, false);
 
             // Assert that eviction objects are correctly cleaned
-            // 1 - the evictor timer task is cancelled
+            // 1 - the evictor timer task is canceled
             sf = (ScheduledFuture<?>) evictorTaskFutureField.get(evictor2);
             assertTrue(sf.isCancelled());
             // 2- and, the eviction thread pool executor is freed