You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/04/30 23:06:17 UTC

[jira] [Updated] (COLLECTIONS-455) AbstractDualBidiMap has several mutable protected fields

     [ https://issues.apache.org/jira/browse/COLLECTIONS-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart updated COLLECTIONS-455:
----------------------------------------

    Fix Version/s: 4.0
    
> AbstractDualBidiMap<K, V> has several mutable protected fields
> --------------------------------------------------------------
>
>                 Key: COLLECTIONS-455
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-455
>             Project: Commons Collections
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 4.0
>
>
> Any non-private mutable fields make it much harder to ensure thread-safety as well as making it very difficult to test thoroughly.
> The fields should be made private.
> If protected write access really is needed, setter methods should be used.
> These methods can take any necessary precautions to ensure thread-safety.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira