db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1202276 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java
Date Tue, 15 Nov 2011 16:20:53 GMT
Author: rhillegas
Date: Tue Nov 15 16:20:52 2011
New Revision: 1202276

URL: http://svn.apache.org/viewvc?rev=1202276&view=rev
Log:
DERBY-5485: Fix ProcedureTest to run again on JDK 1.4.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java?rev=1202276&r1=1202275&r2=1202276&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java
Tue Nov 15 16:20:52 2011
@@ -1161,7 +1161,7 @@ public class ProcedureTest extends BaseJ
              new byte[] { (byte) 1, (byte) 1, (byte) 1 },
              new HarmonySerialClob( "firstt" ),
              new Date( 1L ),
-             new BigDecimal( 1 ),
+             new BigDecimal( "1" ),
              new Double( 1.0 ),
              new Integer( 1 ),
              new String( "firstt" ),
@@ -1170,7 +1170,7 @@ public class ProcedureTest extends BaseJ
              new Integer( 1 ),
              new Time( 1L ),
              new Timestamp( 1L ),
-             new Price( "USD", new BigDecimal( 1 ), new Timestamp( 1 ) ),
+             new Price( "USD", new BigDecimal( "1" ), new Timestamp( 1 ) ),
              "firstt",
              new byte[] { (byte) 1, (byte) 1, (byte) 1 }
              );
@@ -1186,7 +1186,7 @@ public class ProcedureTest extends BaseJ
              new byte[] { (byte) 2, (byte) 2, (byte) 2 },
              new HarmonySerialClob( "second" ),
              new Date( 2L ),
-             new BigDecimal( 2 ),
+             new BigDecimal( "2" ),
              new Double( 2.0 ),
              new Integer( 2 ),
              new String( "second" ),
@@ -1195,7 +1195,7 @@ public class ProcedureTest extends BaseJ
              new Integer( 2 ),
              new Time( 2L ),
              new Timestamp( 2L ),
-             new Price( "USD", new BigDecimal( 2 ), new Timestamp( 2 ) ),
+             new Price( "USD", new BigDecimal( "2" ), new Timestamp( 2 ) ),
              "second",
              new byte[] { (byte) 2, (byte) 2, (byte) 2 }
              );



Mime
View raw message