velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r747118 - /velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java
Date Mon, 23 Feb 2009 20:09:25 GMT
Author: nbubna
Date: Mon Feb 23 20:09:25 2009
New Revision: 747118

URL: http://svn.apache.org/viewvc?rev=747118&view=rev
Log:
consider #evaluate to be top-level for #stop

Modified:
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java?rev=747118&r1=747117&r2=747118&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Stop.java Mon Feb
23 20:09:25 2009
@@ -122,7 +122,8 @@
         {
             // only stop for the top :)
             return (that instanceof Template ||
-                    that instanceof RuntimeInstance);
+                    that instanceof RuntimeInstance ||
+                    that instanceof Evaluate);
         }
     }
 }



Mime
View raw message