mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Change ConcurrentLinkedQueue.poll(boolean remove) to private.
Since it's not available in the Oracle classpath. Closes #169.
This commit is contained in:
parent
39214d860f
commit
d9ce351a24
@ -56,7 +56,7 @@ public class ConcurrentLinkedQueue<T> {
|
|||||||
return poll(true);
|
return poll(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T poll(boolean remove) {
|
private T poll(boolean remove) {
|
||||||
while (true) {
|
while (true) {
|
||||||
Node<T> h = head;
|
Node<T> h = head;
|
||||||
Node<T> t = tail;
|
Node<T> t = tail;
|
||||||
|
Loading…
Reference in New Issue
Block a user