cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [c2] can't build latest cvs
Date Mon, 23 Apr 2001 23:02:29 GMT
At 12:12  24/4/01 +0200, Santiago Gala wrote:
>I wonder also how setLogger() is public while getLogger() is protected. 
>Looks counterintuitive.

The reasoning is that setLogger has to be public as the Logger is received
from outside the component. getLogger().warn() is just a nicer substitute
for m_logger.warn(). That way Cocoons style doesn't have to mix with
AValons style ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


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


Mime
View raw message