Hi Leo,

On Wed, 2003-10-15 at 17:54, Leo Sutic wrote:
> Yes. There was a clear decision to allow it so one could write:
> 
> 
>    MyComponent comp = null;
>    try {
>         comp = mgr.lookup (...);
> 
>         ....
> 
>    } finally {
>         mgr.release (comp);
>    }
> 
> without having to put in a null check.

Great, thanks mate - that example was exactly what I was asking :)

Cheers,

Marcus


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

Reply via email to