You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2009/09/11 19:34:57 UTC
[jira] Resolved: (COLLECTIONS-259) TransformerClosure should
implement Transformer and allow extension.
[ https://issues.apache.org/jira/browse/COLLECTIONS-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson resolved COLLECTIONS-259.
-------------------------------------
Resolution: Won't Fix
> TransformerClosure should implement Transformer and allow extension.
> --------------------------------------------------------------------
>
> Key: COLLECTIONS-259
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-259
> Project: Commons Collections
> Issue Type: Improvement
> Components: Functor
> Affects Versions: 3.2
> Reporter: Stephen Kestle
> Priority: Minor
> Fix For: 3.4, Generics
>
>
> TransformerClosure currently decorates a transformer. However, in the interests of non-verbose code, it makes sense to be able to subclass it for a class that implements both interfaces.
> I propose the addition of the following constructor and method
> protected TransformerClosure(){
> iTransformer = this;
> }
> public O transform(I in){
> return iTransformer.transform();
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.