aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2009-07-22 17:28:41 +0000
committerYana Stamcheva <yana@jitsi.org>2009-07-22 17:28:41 +0000
commitb456e84ab6e88c2b9eba76080debef4d2e3102b6 (patch)
treeadca07798085a20e6b9f86f09e3d3395bf844960 /src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
parent2da2522098fa239d873183f279391b2238d8c40f (diff)
downloadjitsi-b456e84ab6e88c2b9eba76080debef4d2e3102b6.zip
jitsi-b456e84ab6e88c2b9eba76080debef4d2e3102b6.tar.gz
jitsi-b456e84ab6e88c2b9eba76080debef4d2e3102b6.tar.bz2
Fixes file transfer progress wrong data type (from int to long). Problem and fix thereof João Antunes!
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
index d2b6fda..72e8ccf 100644
--- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
@@ -385,7 +385,7 @@ public class OperationSetFileTransferJabberImpl
public void run()
{
int status;
- double progress;
+ long progress;
while (true)
{
@@ -406,7 +406,7 @@ public class OperationSetFileTransferJabberImpl
fileTransfer.fireStatusChangeEvent(status);
fileTransfer.fireProgressChangeEvent(
- System.currentTimeMillis(), (int) progress);
+ System.currentTimeMillis(), progress);
}
catch (InterruptedException e)
{
@@ -423,7 +423,7 @@ public class OperationSetFileTransferJabberImpl
fileTransfer.fireStatusChangeEvent(status);
fileTransfer.fireProgressChangeEvent(
- System.currentTimeMillis(), (int) progress);
+ System.currentTimeMillis(), progress);
}
}