velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Re: EscapeTool (and velocity-tool best practices)
Date Wed, 08 Dec 2004 21:18:42 GMT
Shinobu Kawai <> wrote:
> Just be sure to check for null.

Too late!  I didn't, and already got caught by that error and subsequently 
corrected it. :)

> Overloading in Tools currently gives strange behaviour.

I haven't run into this problem.   Maybe it's because the methods are in two 
separate classes.

When you update your class, you could avoid the problem by only having 
Object argument methods.   The overhead of calling String.toString() should 
be minimal :)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message