All,This is a bit more of a "users" list question, but I think it will evolve into a dev discussion, so I'm posting it here.
I have a List that I'd like to remove objects from. java.util.List implements two "remove" methods: one that accepts an (int) index into the list and one that accepts a list element (java.lang.Object).
My list elements are java.lang.Integer objects, so in the eyes of Velocity, there is an ambiguity, here. Velocity happens to pick remove(int) when I'd prefer remove(Object) in my case.
Is there a way to force Velocity to pick a particular version of a method? In Java, you'd just cast the object to a particular class to remove any ambiguity, but that option is not available for Velocity.
Any suggestions? -chris
signature.asc
Description: OpenPGP digital signature
