velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r534262 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
Date Tue, 01 May 2007 22:34:57 GMT
Author: nbubna
Date: Tue May  1 15:34:56 2007
New Revision: 534262

URL: http://svn.apache.org/viewvc?view=rev&rev=534262
Log:
remove done todo and unnecessary re-put of velocityContext tool property

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java?view=diff&rev=534262&r1=534261&r2=534262
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
Tue May  1 15:34:56 2007
@@ -93,13 +93,11 @@
 
     protected void putToolProperties()
     {
-        //TODO!! put these strings as constants somewhere!!
         putToolProperty(REQUEST, getRequest());
         putToolProperty(RESPONSE, getResponse());
         putToolProperty(SESSION, getSession());
         putToolProperty(SERVLET_CONTEXT_KEY, getServletContext());
         putToolProperty(PATH_KEY, ServletUtils.getPath(getRequest()));
-        putToolProperty("velocityContext", getVelocityContext());
     }
 
     /**



Mime
View raw message