File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/org/apache/commons/pool2/impl Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -789,7 +789,7 @@ public void close() {
789789 jmxUnregister ();
790790
791791 // Release any threads that were waiting for an object
792- poolMap .values ().forEach (e -> e .getIdleObjects ().interuptTakeWaiters ());
792+ poolMap .values ().forEach (e -> e .getIdleObjects ().interruptTakeWaiters ());
793793 // This clear cleans up the keys now any waiting threads have been
794794 // interrupted
795795 clear ();
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ public void close() {
484484 jmxUnregister ();
485485
486486 // Release any threads that were waiting for an object
487- idleObjects .interuptTakeWaiters ();
487+ idleObjects .interruptTakeWaiters ();
488488 }
489489 }
490490
Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ boolean hasTakeWaiters() {
605605 * Interrupts the threads currently waiting to take an object from the pool. See disclaimer on accuracy in
606606 * {@link java.util.concurrent.locks.ReentrantLock#getWaitingThreads(Condition)}.
607607 */
608- void interuptTakeWaiters () {
608+ void interruptTakeWaiters () {
609609 lock .lock ();
610610 try {
611611 lock .interruptWaiters (notEmpty );
You can’t perform that action at this time.
0 commit comments