[ 
https://issues.apache.org/jira/browse/COLLECTIONS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828369#action_12828369
 ] 

Sebb commented on COLLECTIONS-335:
----------------------------------

Yes, but the *only code* that accesses entrySet is the following, which does 
not write the value:

{code}
public Set<Map.Entry<K, V>> entrySet() {
    if (entrySet == null) {
        return new EntryView();
    }
    return entrySet;
}
{code}

Thus entrySet will remain null, and a new EntryView() will always be created.

> bidimap.TreeBidiMap.entrySet is never written
> ---------------------------------------------
>
>                 Key: COLLECTIONS-335
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-335
>             Project: Commons Collections
>          Issue Type: Bug
>            Reporter: Sebb
>
> The field bidimap.TreeBidiMap.entrySet is never written.
> Looks like it was perhaps intended to be used as a cache, but the cache value 
> is not written.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to