velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From by...@apache.org
Subject svn commit: r746536 - /velocity/engine/trunk/src/test/org/apache/velocity/test/BlockMacroTestCase.java
Date Sat, 21 Feb 2009 16:29:46 GMT
Author: byron
Date: Sat Feb 21 16:29:46 2009
New Revision: 746536

URL: http://svn.apache.org/viewvc?rev=746536&view=rev
Log:
Remove autoboxing so compilation is Java 1.4 compliant

Modified:
    velocity/engine/trunk/src/test/org/apache/velocity/test/BlockMacroTestCase.java

Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/BlockMacroTestCase.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/BlockMacroTestCase.java?rev=746536&r1=746535&r2=746536&view=diff
==============================================================================
--- velocity/engine/trunk/src/test/org/apache/velocity/test/BlockMacroTestCase.java (original)
+++ velocity/engine/trunk/src/test/org/apache/velocity/test/BlockMacroTestCase.java Sat Feb
21 16:29:46 2009
@@ -109,7 +109,7 @@
 
     public void testRecursiveBlockMacro()
     {
-        engine.setProperty(RuntimeConstants.VM_MAX_DEPTH, 3);
+        engine.setProperty(RuntimeConstants.VM_MAX_DEPTH, "3");
         String template = "#macro(foo)start:$bodyContent#end"+
                           "#@foo()call:$bodyContent#end";
         assertEvalEquals("start:call:call:call:$bodyContent", template);



Mime
View raw message