File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/apache/commons/pool2/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments