velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Szegedi" <szege...@freemail.hu>
Subject Re: Can't call methods that take interface!?
Date Fri, 11 Oct 2002 11:16:53 GMT
----- Original Message -----
From: "Rickard Öberg" <rickard@dreambean.com>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: 2002. október 11. 11:49
Subject: Re: Can't call methods that take interface!?


> Attila Szegedi wrote:
> > 1.4-dev uses my reworked algorithm for matching method signatures.
Anything
> > prior to that uses the old method lookup machinery that admittedly can
choke
> > on methods that take interfaces. I'd say, upgrade if you can...
>
> Hm.. this is for production stuff, so I want to avoid betas if
> possible... would it be possible to change the method to take Object?
> Would that work? For now that seems like a better way to do it.

Well, try and see. I'm not sure about the behavior of the old code but I'd
expect it to work if either the method took Object parameter or the method
name weren't overloaded.

Attila.


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


Mime
View raw message