[jira] [Commented] (COLLECTIONS-470) TransformedMap class exists in two packages

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

[jira] [Commented] (COLLECTIONS-470) TransformedMap class exists in two packages

AD_LB (Jira)

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

Thomas Neidhart commented on COLLECTIONS-470:
---------------------------------------------

Its in the splitmap package, so why not calling it TransformedSplitMap ?
               

> TransformedMap class exists in two packages
> -------------------------------------------
>
>                 Key: COLLECTIONS-470
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-470
>             Project: Commons Collections
>          Issue Type: Bug
>    Affects Versions: 4.x
>            Reporter: Sebb
>
> It's very confusing to have two different TransformedMap classes in different packages: map, splitmap.
> Indeed the Test class has to take special care with the serialised file name to avoid a clash.
> Since we can break binary compat in v4, now is the time to rename one of the classes.
> Perhaps rename as follows:
> splitmap/TransformedMap => splitmap/TransformedGetPutMap

--
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