Change ConcurrentLinkedQueue.poll(boolean remove) to private.

Since it's not available in the Oracle classpath.
Closes #169.
This commit is contained in:
Ben Limmer 2014-02-11 14:54:43 -07:00
parent 39214d860f
commit d9ce351a24

View File

@ -56,7 +56,7 @@ public class ConcurrentLinkedQueue<T> {
return poll(true);
}
public T poll(boolean remove) {
private T poll(boolean remove) {
while (true) {
Node<T> h = head;
Node<T> t = tail;