Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-12-23 00:54:39 -0500
committerslewis2007-12-23 00:54:39 -0500
commit7b1323c6c3f844f3562b72cbdf7b8ad6daf1449e (patch)
treedc49861545c2d92ea087faed221b6986f2568dd5
parent3f5bcfdf1cc2a4c8e25107268ca0e06c426df7e0 (diff)
downloadorg.eclipse.ecf-7b1323c6c3f844f3562b72cbdf7b8ad6daf1449e.tar.gz
org.eclipse.ecf-7b1323c6c3f844f3562b72cbdf7b8ad6daf1449e.tar.xz
org.eclipse.ecf-7b1323c6c3f844f3562b72cbdf7b8ad6daf1449e.zip
Added efs-based send file transfer and directory browsing.
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/RemoteFileSystemBrowserFactory.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/RemoteFileSystemBrowserFactory.java b/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/RemoteFileSystemBrowserFactory.java
index 08418fe04..f44db9cd8 100755
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/RemoteFileSystemBrowserFactory.java
+++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/RemoteFileSystemBrowserFactory.java
@@ -1,7 +1,5 @@
package org.eclipse.ecf.tests.filetransfer;
-import java.net.MalformedURLException;
-
import org.eclipse.ecf.core.identity.IDFactory;
import org.eclipse.ecf.core.identity.Namespace;
import org.eclipse.ecf.filetransfer.IRemoteFileSystemListener;
@@ -27,12 +25,7 @@ public class RemoteFileSystemBrowserFactory implements IRemoteFileSystemBrowserF
}
public IRemoteFileSystemRequest sendDirectoryRequest(IFileID directoryID, IRemoteFileSystemListener listener) throws RemoteFileSystemException {
- FileSystemBrowser fsb;
- try {
- fsb = new FileSystemBrowser(directoryID, directoryID.getURL(), listener);
- } catch (final MalformedURLException e) {
- throw new RemoteFileSystemException("Malformed URL Exception", e);
- }
+ final FileSystemBrowser fsb = new FileSystemBrowser(directoryID, listener);
return fsb.sendDirectoryRequest();
}

Back to the top