avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Followup: [Fortress] [Novice question] why are values copied from m_rootContext to m_childContext?
Date Thu, 15 May 2003 12:32:43 GMT
Anton Tagunov wrote:

> To me this evaluates to
> 
>     protected void initializeLoggerManager() throws Exception
>     {
>         try
>         {
>             m_rootContext.get( LoggerManager.ROLE );
>             return;
>         }
>         catch ( ContextException ce )
>         {
>             Configuration loggerManagerConfig = ...
>             if ( loggerManagerConfig == null )
>             {
>                 loggerManagerConfig = EMPTY_CONFIG;
>             }
> 
> 
> "Code is the best documentation", isn't it? ;-)

It was the result of a refactoring that happened by one of the Leo's if
I recall.  The problem they were addressing was actually a bit messier
than that.

If you would like to generate a diff for me, I would be more than happy
to apply it.

-- 
"You know the world is going crazy when the best
rapper is a white guy, the best golfer is a black guy,
The Swiss hold the America's Cup, France is
accusing the US of arrogance, and Germany doesn't want
to go to war. And the 3 most powerful men in America
are named 'Bush', 'Dick', and 'Colon' (sic)".

-----Chris Rock


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


Mime
View raw message