From d9ce351a246b28b2ca14d9265bf91a31976cc677 Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Tue, 11 Feb 2014 14:54:43 -0700 Subject: [PATCH] Change ConcurrentLinkedQueue.poll(boolean remove) to private. Since it's not available in the Oracle classpath. Closes #169. --- classpath/java/util/concurrent/ConcurrentLinkedQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classpath/java/util/concurrent/ConcurrentLinkedQueue.java b/classpath/java/util/concurrent/ConcurrentLinkedQueue.java index 251adadbcc..ab6c0b344c 100644 --- a/classpath/java/util/concurrent/ConcurrentLinkedQueue.java +++ b/classpath/java/util/concurrent/ConcurrentLinkedQueue.java @@ -56,7 +56,7 @@ public class ConcurrentLinkedQueue { return poll(true); } - public T poll(boolean remove) { + private T poll(boolean remove) { while (true) { Node h = head; Node t = tail;