[jboss-svn-commits] JBL Code SVN: r12115 - labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed May 23 22:25:57 EDT 2007


Author: mark.proctor at jboss.com
Date: 2007-05-23 22:25:57 -0400 (Wed, 23 May 2007)
New Revision: 12115

Modified:
   labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl
Log:
JBRULES-708 MVEL Integration
-jdk1.4 still needs String constructors for BigInteger

Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl	2007-05-24 02:09:22 UTC (rev 12114)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl	2007-05-24 02:25:57 UTC (rev 12115)
@@ -10,8 +10,8 @@
         $c : Cheese(type == "stilton", price == (new Integer(5) + 5), eval(price == (new Integer(5) + 5)) )
         eval( $c.price == 10 && list == empty)
     then
-        a = new java.math.BigInteger( 10 );
-        b = new java.math.BigInteger( 10 );
+        a = new java.math.BigInteger( "10" );
+        b = new java.math.BigInteger( "10" );
         c = a + b;
         list.add( c + $c.price);
 end  
\ No newline at end of file




More information about the jboss-svn-commits mailing list