Hi, All!

In serveral places in Fortress I see things like

    protected Object get( final Context context, final String key, final Object 
defaultValue )
    {
        try
        {
            return context.get( key );
        }
        catch ( ContextException ce )
        {
            return defaultValue;
        }
    }

it would be nice to have some central place to put it.
Some XXXUtil.

ContextUtil with just one method?


I also have an XXXUtil.makeReadOnly( Object obj ) method in mind
(see my other mail).

Where can that go? To the same class as
get(context, key ,defaultValue)?

WBR, Anton


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

Reply via email to