cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1190613 - /cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Date Fri, 28 Oct 2011 21:55:55 GMT
Author: dkulp
Date: Fri Oct 28 21:55:55 2011
New Revision: 1190613

URL: http://svn.apache.org/viewvc?rev=1190613&view=rev
Log:
Fix java5 compile failure

Modified:
    cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java

Modified: cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java?rev=1190613&r1=1190612&r2=1190613&view=diff
==============================================================================
--- cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
(original)
+++ cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Fri Oct 28 21:55:55 2011
@@ -565,7 +565,7 @@ public class RMTxStore implements RMStor
         stmt.setString(i++, id);  
         stmt.setLong(i++, nr);
         stmt.setString(i++, to); 
-        stmt.setBinaryStream(i++, msg.getInputStream(), msg.getSize());
+        stmt.setBinaryStream(i++, msg.getInputStream(), (int)msg.getSize());
         stmt.execute();
         if (LOG.isLoggable(Level.FINE)) {
             LOG.log(Level.FINE, "Successfully stored {0} message number {1} for sequence
{2}",



Mime
View raw message