On 4 Apr 2004, at 20:14, Alex Karasulu wrote:


Hi,

I was just looking at the digester code as I was writing another incarnation
of the digester pattern and noticed the pop() and peek() methods do not need
to catch exceptions. It is just cheaper to check the size of the stack
before the pop() or peek() calls and return null instead of just making that
call surrounded by a catch block.

sounds reasonable to me. anyone else see any reason not to make these changes?


- robert


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to