cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicole Natho <na...@math.TU-Berlin.DE>
Subject cocoon.java - method process
Date Mon, 17 Jun 2002 07:27:39 GMT

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"?

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