You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by rl...@apache.org on 2012/08/08 00:26:17 UTC
svn commit: r1370575 -
/oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java
Author: rlaidlaw
Date: Tue Aug 7 22:26:16 2012
New Revision: 1370575
URL: http://svn.apache.org/viewvc?rev=1370575&view=rev
Log:
OODT-483: changed Long.toBinaryString to Long.toString in method getXmlRpcFileTransferStatus to prevent NumberFormatException in method getFileTransferStatusFromXmlRpc
Modified:
oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java
Modified: oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java
URL: http://svn.apache.org/viewvc/oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java?rev=1370575&r1=1370574&r2=1370575&view=diff
==============================================================================
--- oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java (original)
+++ oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/util/XmlRpcStructFactory.java Tue Aug 7 22:26:16 2012
@@ -72,7 +72,7 @@ public final class XmlRpcStructFactory {
public static Hashtable<String, Object> getXmlRpcFileTransferStatus(
FileTransferStatus status) {
Hashtable<String, Object> statusHash = new Hashtable<String, Object>();
- statusHash.put("bytesTransferred",Long.toBinaryString(status
+ statusHash.put("bytesTransferred",Long.toString(status
.getBytesTransferred()));
statusHash.put("parentProduct", getXmlRpcProduct(status
.getParentProduct()));