cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Cleaning up Lifecycle Interfaces
Date Tue, 08 Jan 2002 16:16:09 GMT
Carsten Ziegeler wrote:
> 
> Hi,
> 
> I just reviewed a little bit of the serializers code, and saw this:
> AbstractSerializer implements: Recyclable
> AbstractTextSerializer inherits from AbstractSerializer and implements
> Poolable
> TextSerializer|XMLSerializer... inherit from AbstractTextSerializer  and
> implement Poolable
> 
> This seems to me that there are too many implements in this inheritance
> chain.
> Before I start doing something, is is OK to remove the two
> implements Poolable statements (from AbstractTextSerializer and
> TextSerializer|XMLSerializer
> etc)?

Go for it, the least classes are connected, the faster the object
creation.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message