velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn Holmer" <>
Subject Re: Java 5 enum
Date Sat, 31 Dec 2005 14:48:07 GMT
> Have you tried this with the latest from source code head?  (unreleased 
> version 1.5).  Equality for items of different classes is now based on the 
> toString automatically.
> I haven't tried this with Java 5 enums, but I'd think this would work.

Thanks, we'll wait for the next release to come out :)  Using toString() works
for now, I just wanted to make sure that was the best way to handle this in the
current version of Velocity.

Glenn Holmer                
Software Engineer                        phone: 414.908.1809
Weyco Group, Inc.                          fax: 414.908.1601

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

View raw message