You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Geert Pante (JIRA)" <ji...@apache.org> on 2008/02/13 15:53:08 UTC

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

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


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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated COLLECTIONS-285:
--------------------------------------

         Fix Version/s: 3.3
    Remaining Estimate:     (was: 0.35h)
     Original Estimate:     (was: 0.35h)

> 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: 3.3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated COLLECTIONS-285:
--------------------------------------

    Attachment: COLLECTIONS-285.patch

Patch adding serialization to TreeBidiMap.

> 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: 3.3
>
>         Attachments: COLLECTIONS-285.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed COLLECTIONS-285.
-------------------------------------

    Resolution: Fixed

svn ci -m "Applying my patch, with the obj creation commented out, from COLLECTIONS-285. This makes TreeBidiMap serializable. "

Adding  (bin)  data/test/TreeBidiMap.emptyCollection.version3.3.obj
Adding  (bin)  data/test/TreeBidiMap.fullCollection.version3.3.obj
Sending        src/java/org/apache/commons/collections/bidimap/TreeBidiMap.java
Sending        src/test/org/apache/commons/collections/bidimap/TestTreeBidiMap.java
Transmitting file data ....
Committed revision 655756.

> 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: 3.3
>
>         Attachments: COLLECTIONS-285.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell reopened COLLECTIONS-285:
---------------------------------------


During the merge of the generics branch, I had to revert this fix. It needs to be refactored/reapplied in the new generics modified code.

> 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: 3.3
>
>         Attachments: COLLECTIONS-285.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.