You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BlockingQueue documentation for offer() method says it should return true upon success and false if no space is currently available.
I think this block in ConcurrentSetBlockingQueue should return true instead of false:
if (set.contains(e)) {
return false;
}
The text was updated successfully, but these errors were encountered:
BlockingQueue documentation for
offer()
method says it should returntrue
upon success andfalse
if no space is currently available.I think this block in ConcurrentSetBlockingQueue should return
true
instead offalse
:The text was updated successfully, but these errors were encountered: