Sure, go for it!

On 5/28/07, Claude Brisson <[EMAIL PROTECTED]> wrote:
I propose to relax the access to the three following methods in
VelocityView.java :

-    protected Template getTemplate(HttpServletRequest request)
+    public Template getTemplate(HttpServletRequest request)

-    protected Template getTemplate(HttpServletRequest request, 
HttpServletResponse response)
+    public Template getTemplate(HttpServletRequest request, 
HttpServletResponse response)

-    protected void merge(Template template, Context context, Writer writer)
+    public void merge(Template template, Context context, Writer writer)

The purpose is to let subclasses of VelocityViewServlet be able to call
them.

A typical use case (for the last one) is to be able to use an alternate
writer while still calling getVelocityView().merge(...).

Nathan, are you +1 on this?

  Claude


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



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

Reply via email to