commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joachim Fuchs" <joachim.fu...@dai-labor.de>
Subject Digester push(null)
Date Wed, 28 Jun 2006 12:37:12 GMT
Hi,

I found this code in Tomcat's ContextConfig.java:

<code>
webDigester.clear();
webDigester.push(context);
webDigester.parse(is);
webDigester.push(null);
</code>

My question is what happens with the digester when pushing a null reference?
I expect a null pointer expetion to be thrown, so what is this good for?

I am not subscribed to the list, please CC me.

Joachim



Dipl. Inform. Joachim Fuchs
DAI-Labor - Technische Universit├Ąt Berlin Sekretariat GOR 1-1, Franklinstra├če 28/29, 10587
Berlin
Fon: +49 30 314 23383
joachim.fuchs@dai-labor.de
http://www.dai-labor.de  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message