velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1808338 - /velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
Date Thu, 14 Sep 2017 13:17:00 GMT
Author: cbrisson
Date: Thu Sep 14 13:17:00 2017
New Revision: 1808338

URL: http://svn.apache.org/viewvc?rev=1808338&view=rev
Log:
[tools] Fix regression in ViewToolContext

Modified:
    velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java

Modified: velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java?rev=1808338&r1=1808337&r2=1808338&view=diff
==============================================================================
--- velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
(original)
+++ velocity/tools/trunk/velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ViewToolContext.java
Thu Sep 14 13:17:00 2017
@@ -249,7 +249,7 @@ public class ViewToolContext extends Too
         Object o = null;
         if (getRequest() != null)
         {
-            getRequest().getAttribute(key);
+            o = getRequest().getAttribute(key);
         }
         if (o == null)
         {



Mime
View raw message