Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
3.2
-
None
-
None
Description
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();
}