File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/org/apache/commons/pool3/impl Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -709,7 +709,7 @@ public void close() {
709709 jmxUnregister ();
710710
711711 // Release any threads that were waiting for an object
712- poolMap .values ().forEach (e -> e .getIdleObjects ().interuptTakeWaiters ());
712+ poolMap .values ().forEach (e -> e .getIdleObjects ().interruptTakeWaiters ());
713713 // This clear cleans up the keys now any waiting threads have been
714714 // interrupted
715715 clear ();
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ public void close() {
487487 jmxUnregister ();
488488
489489 // Release any threads that were waiting for an object
490- idleObjects .interuptTakeWaiters ();
490+ idleObjects .interruptTakeWaiters ();
491491 }
492492 }
493493
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