You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Fred Toth <ft...@synernet.com> on 2004/05/08 04:57:42 UTC

deprecated Velocity.templateExists()?

Hi,

I notice when I compile code using Velocity.templateExists()
I get "deprecated" warnings. I haven't seen anything in the doc
about this. Seems to work just fine.

Can anyone tell me the best practice here?

Thanks,

Fred


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


Re: deprecated Velocity.templateExists()?

Posted by Nathan Bubna <na...@esha.com>.
Fred Toth said:
> I notice when I compile code using Velocity.templateExists()
> I get "deprecated" warnings. I haven't seen anything in the doc
> about this. 
...

the javadoc for the method says "Use resourceExists(String) instead."

Nathan Bubna
nathan@esha.com

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