Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-02-26 00:17:09 +0000
committerslewis2008-02-26 00:17:09 +0000
commite6d871362f4d859771b9d8d776e1e343ce0726fe (patch)
treebd54a9fc7ac0170d2bfbcaded99a01994fedcabb /providers/bundles/org.eclipse.ecf.provider.bittorrent
parent6aeeb09df401c7128c8678fb0c7dd43f20d840a2 (diff)
downloadorg.eclipse.ecf-e6d871362f4d859771b9d8d776e1e343ce0726fe.tar.gz
org.eclipse.ecf-e6d871362f4d859771b9d8d776e1e343ce0726fe.tar.xz
org.eclipse.ecf-e6d871362f4d859771b9d8d776e1e343ce0726fe.zip
Added getFileLength call for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=220301
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.bittorrent')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/TorrentFileTransfer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/TorrentFileTransfer.java b/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/TorrentFileTransfer.java
index b3260b89f..8df860dbb 100644
--- a/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/TorrentFileTransfer.java
+++ b/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/TorrentFileTransfer.java
@@ -195,4 +195,7 @@ final class TorrentFileTransfer implements IFileTransferPausable, IFileTransferR
return null;
}
+ public long getFileLength() {
+ return -1;
+ }
}

Back to the top