From ae94f40b47c1934995858a35d3de3e79282bc384 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Tue, 5 Feb 2008 20:04:04 +0000 Subject: [PATCH] [cleanup] Fix warnings --- .../rse/internal/importexport/files/RemoteExporter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.importexport/src/org/eclipse/rse/internal/importexport/files/RemoteExporter.java b/rse/plugins/org.eclipse.rse.importexport/src/org/eclipse/rse/internal/importexport/files/RemoteExporter.java index 8092c0b9a84..f0cc666326b 100644 --- a/rse/plugins/org.eclipse.rse.importexport/src/org/eclipse/rse/internal/importexport/files/RemoteExporter.java +++ b/rse/plugins/org.eclipse.rse.importexport/src/org/eclipse/rse/internal/importexport/files/RemoteExporter.java @@ -55,7 +55,7 @@ class RemoteExporter { public void createFolder(IPath destinationPath) { // IFS: use IFSJaveFile object if necessary if (_host != null) - new UniFilePlus(Utilities.getIRemoteFile((IHost) _host, destinationPath.toString())).mkdir(); + new UniFilePlus(Utilities.getIRemoteFile(_host, destinationPath.toString())).mkdir(); else new File(destinationPath.toOSString()).mkdir(); } @@ -91,7 +91,7 @@ class RemoteExporter { * @throws SystemMessageException TODO */ protected void writeFile(IFile file, IPath destinationPath) throws IOException, CoreException, SystemMessageException { - IRemoteFileSubSystem rfss = RemoteFileUtility.getFileSubSystem((IHost) _host); + IRemoteFileSubSystem rfss = RemoteFileUtility.getFileSubSystem(_host); String dest = destinationPath.toString(); char sep = rfss.getSeparatorChar(); if (sep != '/')