Berin Loritsch wrote:

From: Stephen McConnell [mailto:[EMAIL PROTECTED]]

In the Fortress class org.apache.excalibur.fortress.util.OverridableContext, desscriped as:

* The OverridableContext allows you to "null" out entries, even if they are
* in a parent context.

Isn't this class doing the same thing as the framework DefaultContext.hide( key ) ?


Oh, someone must have backported the feature...

In that case, OverridableContext is no longer necessary.

I'm looking at it again and I think its not actually the case - OverridableContext is overriding the put operation so that if the supplied context value is null, then the DefaultContext hide operation is invoked. I.e. I think my assumption was incorrect.

Steve.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net




--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to