You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2008/09/02 20:22:47 UTC
svn commit: r691339 -
/velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java
Author: nbubna
Date: Tue Sep 2 11:22:47 2008
New Revision: 691339
URL: http://svn.apache.org/viewvc?rev=691339&view=rev
Log:
remove sneaky java1.5-ism
Modified:
velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java
Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java?rev=691339&r1=691338&r2=691339&view=diff
==============================================================================
--- velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java (original)
+++ velocity/engine/trunk/src/test/org/apache/velocity/test/StrictMathTestCase.java Tue Sep 2 11:22:47 2008
@@ -36,7 +36,7 @@
public void setUp() throws Exception
{
super.setUp();
- engine.setProperty(RuntimeConstants.STRICT_MATH, true);
+ engine.setProperty(RuntimeConstants.STRICT_MATH, Boolean.TRUE);
context.put("num", new Integer(5));
context.put("zero", new Integer(0));
}