velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: EscapeTool (and velocity-tool best practices)
Date Thu, 09 Dec 2004 22:29:24 GMT
Hi Will,

> To carry this further, I've proposed previously that the "==" operator have
> a fallback to toString equality.  In other words if the user does
> #if ($a == $b)
> 
> If a and b are the same class, it should call equals(), but otherwise it
> should call toString.equals().

Here's a somewhat related bugzilla issue:
   http://issues.apache.org/bugzilla/show_bug.cgi?id=32179
   (Workaround the lack of equality in CharSequence.)

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <shinobu.kawai@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message