cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Inefficiencies in DefaultConfiguration
Date Wed, 10 Apr 2002 08:55:03 GMT
On Wed, 10 Apr 2002 03:45, Stefano Mazzocchi wrote:
> Can somebody tell me why we have to:
>
>  1) create three strings
>  2) call two methods
>  3) create an exception object
>  4) throw the exception
>  5) and then throw everything away.
>
> in order to resort to the default value?

Its legacy inherited from previous authors ;)

I fixed this up in CVS but similar ineficiancies are present with many of the 
getAttribute*() methods. It would be good if a patch was supplied to rectify 
this ;)

-- 
Cheers,

Pete

---------------------------------------------------
Murphy's law - "Anything that can go wrong, will." 
(Actually, this is Finagle's law, which in itself 
shows that Finagle was right.)
---------------------------------------------------

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


Mime
View raw message