Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2009-04-30 12:00:17 +0000
committerrsuen2009-04-30 12:00:17 +0000
commit91b48ccca518eb67f37331569d51a8d71e1023d8 (patch)
treec05c8cf4705fef97bf33320dcf434dc80eff4dce /providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/BitTorrentContainer.java
parentc18dceef0f289417b5554db568bea8c50641b8cf (diff)
downloadorg.eclipse.ecf-91b48ccca518eb67f37331569d51a8d71e1023d8.tar.gz
org.eclipse.ecf-91b48ccca518eb67f37331569d51a8d71e1023d8.tar.xz
org.eclipse.ecf-91b48ccca518eb67f37331569d51a8d71e1023d8.zip
Bug 264698 Defer location retrieval for BitTorrent provider
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/BitTorrentContainer.java')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.bittorrent/src/org/eclipse/ecf/internal/provider/bittorrent/BitTorrentContainer.java5
1 files changed, 2 insertions, 3 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 fbde6c8e2..d8f75d1d8 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
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2008 Remy Suen, Composent Inc., and others.
+ * Copyright (c) 2006, 2009 Remy Suen, Composent Inc., and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -40,7 +40,6 @@ import org.eclipse.ecf.filetransfer.events.IIncomingFileTransferReceiveStartEven
import org.eclipse.ecf.filetransfer.identity.IFileID;
import org.eclipse.ecf.filetransfer.service.IRetrieveFileTransfer;
import org.eclipse.ecf.protocol.bittorrent.Torrent;
-import org.eclipse.ecf.protocol.bittorrent.TorrentConfiguration;
import org.eclipse.ecf.protocol.bittorrent.TorrentFactory;
import org.eclipse.ecf.protocol.bittorrent.TorrentFile;
import org.eclipse.osgi.util.NLS;
@@ -54,7 +53,7 @@ public final class BitTorrentContainer implements IContainer, IRetrieveFileTrans
public BitTorrentContainer() throws IDCreateException {
id = IDFactory.getDefault().createGUID();
containerListeners = new ArrayList();
- TorrentConfiguration.setConfigurationPath(new File(System.getProperty("user.home"), ".eclipsebt")); //$NON-NLS-1$ //$NON-NLS-2$
+ BitTorrentProviderPlugin.getDefault().setConfigurationPath();
}
public void connect(ID targetID, IConnectContext connectContext) throws ContainerConnectException {

Back to the top