commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r591780 - /commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java
Date Sun, 04 Nov 2007 13:39:16 GMT
Author: dion
Date: Sun Nov  4 05:39:16 2007
New Revision: 591780

URL: http://svn.apache.org/viewvc?rev=591780&view=rev
Log:
fix jdk 1.5 only method		

Modified:
    commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java

Modified: commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java?rev=591780&r1=591779&r2=591780&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java (original)
+++ commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java Sun Nov
 4 05:39:16 2007
@@ -117,7 +117,7 @@
         jc.getVars().put("now", Calendar.getInstance().getTime());
         GregorianCalendar gc = new GregorianCalendar(5000, 11, 20);
         jc.getVars().put("now2", gc.getTime());
-        jc.getVars().put("bdec", new BigDecimal(7));
+        jc.getVars().put("bdec", new BigDecimal("7"));
         jc.getVars().put("bint", new BigInteger("7"));
 
         assertExpression(jc, "a == b", Boolean.FALSE);



Mime
View raw message