diff options
author | slewis | 2008-03-21 19:16:24 +0000 |
---|---|---|
committer | slewis | 2008-03-21 19:16:24 +0000 |
commit | 596acbcd24e26882af8ff1ae676001f5763f8e10 (patch) | |
tree | 444ff8a9f00bfdf96f94a390581f2a6b0327bb58 | |
parent | 736d91d8f5c7d6cba991401e9c749499b9a9f491 (diff) | |
download | org.eclipse.ecf-596acbcd24e26882af8ff1ae676001f5763f8e10.tar.gz org.eclipse.ecf-596acbcd24e26882af8ff1ae676001f5763f8e10.tar.xz org.eclipse.ecf-596acbcd24e26882af8ff1ae676001f5763f8e10.zip |
Changes/fixes for bug 223207
2 files changed, 13 insertions, 0 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/BitTorrentContainer.java b/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/BitTorrentContainer.java index fb77e9a7d..6bb50cf3b 100644 --- a/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/BitTorrentContainer.java +++ b/providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/BitTorrentContainer.java @@ -176,6 +176,10 @@ public final class BitTorrentContainer implements IContainer, IRetrieveFileTrans throw new UnsupportedOperationException(BitTorrentMessages.BitTorrentContainer_CannotWriteToStream); } + public IIncomingFileTransfer getSource() { + return transfer; + } + }); } 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 d642b911e..407d38f55 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 @@ -11,6 +11,7 @@ package org.eclipse.ecf.internal.provider.bittorrent; import java.io.IOException; +import java.util.Date; import org.eclipse.bittorrent.IPieceProgressListener; import org.eclipse.bittorrent.ITorrentStateListener; @@ -211,4 +212,12 @@ final class TorrentFileTransfer implements IFileTransferPausable, IFileTransferR return null; } + /* (non-Javadoc) + * @see org.eclipse.ecf.filetransfer.IIncomingFileTransfer#getRemoteLastModified() + */ + public Date getRemoteLastModified() { + // Not supported + return null; + } + } |