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 3ef6c6b8 Javadoc: Normalize spelling
3ef6c6b8 is described below
commit 3ef6c6b874b2fe64cf3a428569a626ea7f76edc4
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Dec 26 16:06:05 2025 -0500
Javadoc: Normalize spelling
---
src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java | 4 ++--
src/test/java/org/apache/commons/pool3/impl/TestEvictionTimer.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java
b/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java
index 9dff5ec9..c48bb780 100644
--- a/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java
+++ b/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java
@@ -33,7 +33,7 @@ import java.util.concurrent.TimeUnit;
* <p>
* This class is currently implemented using {@link
ScheduledThreadPoolExecutor}. This implementation may change in any
* future release. This class keeps track of how many pools are using it. If
no pools are using the timer, it is
- * cancelled. This prevents a thread being left running which, in application
server environments, can lead to memory
+ * canceled. This prevents a thread being left running which, in application
server environments, can lead to memory
* leads and/or prevent applications from shutting down or reloading cleanly.
* </p>
* <p>
@@ -139,7 +139,7 @@ final class EvictionTimer {
/**
* Removes the specified eviction task from the timer.
*
- * @param evictor Task to be cancelled.
+ * @param evictor Task to be canceled.
* @param timeout If the associated executor is no longer required, how
* long should this thread wait for the executor to
* terminate?
diff --git a/src/test/java/org/apache/commons/pool3/impl/TestEvictionTimer.java
b/src/test/java/org/apache/commons/pool3/impl/TestEvictionTimer.java
index cd475b44..ae813c52 100644
--- a/src/test/java/org/apache/commons/pool3/impl/TestEvictionTimer.java
+++ b/src/test/java/org/apache/commons/pool3/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