[jira] [Commented] (COLLECTIONS-285) TreeBidiMap should implement Serializable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (COLLECTIONS-285) TreeBidiMap should implement Serializable

ASF GitHub Bot (Jira)

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

Sebb commented on COLLECTIONS-285:
----------------------------------

This patch only adds transient markers to the main class fields.

What about the nested classes?
Some of those have fields - should they be serialised or not?
               

> TreeBidiMap should implement Serializable
> -----------------------------------------
>
>                 Key: COLLECTIONS-285
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-285
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: BidiMap
>    Affects Versions: 3.2
>            Reporter: Geert Pante
>             Fix For: 4.0-beta-1
>
>         Attachments: COLLECTIONS-285.patch, COLLECTIONS_285.diff
>
>
> TreeBidiMap does not implement Serializable. DualTreeBidiMap does.
> It's just a matter of checking which fields should be transient and done.
> In fact, all Maps should be Serializable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira