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;