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

Thomas Neidhart resolved COLLECTIONS-260.
-----------------------------------------

    Resolution: Fixed
    
> TransformingComparator should have a constructor with just a Transformer
> ------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-260
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-260
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Comparator
>    Affects Versions: 3.2
>            Reporter: Stephen Kestle
>            Priority: Minor
>             Fix For: 4.0
>
>
> With generics, it's possible to have a constructor like:
> TransformingComparator(Transformer<I, O extends Comparable> transformer) {
>         this(transformer, new ComparableComparator());
>     }
> *NB: Pseudo code - that will not work as is

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

Reply via email to