cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: cocoon.java - method process
Date Mon, 17 Jun 2002 12:24:38 GMT
> From: Nicole Natho [mailto:natho@math.TU-Berlin.DE]
> 
> 
> Hello!
> 
> In the file cocoon.java, I found something I don't understand.
> 
> In the methods process(Environment environment) and
process(Environment
> environment, StreamPipeline pipeline, EventPipeline eventpipeline) I
> found the code-snippets:
> 
> try{
> 	if (this.getLogger().isDebugEnabled()) {
> 	++activeRequestCount;
> 		if(this.getLogger().isDebugEnabled()) {
> 		this.debug(environment, null, null);
> 		}
> 	} .....
> 
> 
> Why "if(this.getLogger().isDebugEnabled()) is called twice within the
> "try"?

In case if first one did not work ;)


Will be fixed, thanks for noting this.

Vadim

> Thanks and greetings
> Nicole


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


Mime
View raw message