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);