on 10/3/2000 11:57 AM, "Daniel L. Rall" <[EMAIL PROTECTED]> wrote:

> Nissim wrote:
>> 
>> Doesn't it have to be in the context if we're going to use it from
>> within webmacro?
> 
> Yeah, make it a singleton.

No.

public class WebMacroFormatter
{
    public Object isNull(Object o, Object dflt)
    {
        return ObjectUtils.isNull(o, dflt);
    } 
}

cough code reuse cough

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to