[ https://issues.apache.org/jira/browse/HBASE-16640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494774#comment-15494774 ]
Matteo Bertozzi commented on HBASE-16640: ----------------------------------------- can you add one more assert with assertFalse() for an object that does not exist? > TimeoutBlockingQueue#remove() should return whether the entry is removed > ------------------------------------------------------------------------ > > Key: HBASE-16640 > URL: https://issues.apache.org/jira/browse/HBASE-16640 > Project: HBase > Issue Type: Improvement > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Minor > Attachments: 16640.v1.txt > > > Currently return type of TimeoutBlockingQueue#remove() is void. > The caller has no way of knowing whether the entry is really removed. > This issue changes the return type to boolean. True is returned when entry is > removed, false is returned otherwise. > The change was proposed first in HBASE-16639. -- This message was sent by Atlassian JIRA (v6.3.4#6332)