on 5/14/01 2:29 PM, "Henning P. Schmiedehausen" <[EMAIL PROTECTED]>
wrote:

> Is there a particular reason why TemplateLink::setPage returns a
> DynamicURI and not a TemplateLink?
> 
> is there any reason not to rewrite this as
> 
> public TemplateLink setPage(String t)
> {
>   template = t;
>   addPathInfo(TEMPLATE_KEY, t);
>   return this;
> }
> 
> ?

Seems good to me.

> I was also wondering whether it would be a good idea to rewrite the
> whole of DynamicURI and its children into using an Interface.

Not really sure if this is needed, but it can't really hurt...

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to