git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@766912
13f79535-47bb-0310-9956-
ffa450edef68
package org.apache.tomcat.jdbc.pool;
import java.util.Collection;
+import java.util.Deque;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.NoSuchElementException;
public class FairBlockingQueue<E> implements BlockingQueue<E> {
ReentrantLock lock = new ReentrantLock(false);
- LinkedList<E> items = null;
+ Deque<E> items = null;
LinkedList<ExchangeCountDownLatch<E>> waiters = null;