Skip to content

Commit 43a5430

Browse files
committed
Comment: Normalize spelling
1 parent 380d8af commit 43a5430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/apache/commons/pool2/impl/TestEvictionTimer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public PooledObject<String> wrap(final String obj) {
8484
EvictionTimer.cancel(evictor1, BaseObjectPoolConfig.DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT, false);
8585

8686
// Assert that eviction objects are correctly cleaned
87-
// 1 - the evictor timer task is cancelled
87+
// 1 - the evictor timer task is canceled
8888
sf = (ScheduledFuture<?>) evictorTaskFutureField.get(evictor1);
8989
assertTrue(sf.isCancelled());
9090
// 2- and, the eviction action is removed from executor thread pool
@@ -96,7 +96,7 @@ public PooledObject<String> wrap(final String obj) {
9696
EvictionTimer.cancel(evictor2, BaseObjectPoolConfig.DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT, false);
9797

9898
// Assert that eviction objects are correctly cleaned
99-
// 1 - the evictor timer task is cancelled
99+
// 1 - the evictor timer task is canceled
100100
sf = (ScheduledFuture<?>) evictorTaskFutureField.get(evictor2);
101101
assertTrue(sf.isCancelled());
102102
// 2- and, the eviction thread pool executor is freed

0 commit comments

Comments
 (0)