1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00

[cleanup] Fix warnings

This commit is contained in:
Martin Oberhuber 2008-02-05 20:04:04 +00:00
parent 565407b960
commit ae94f40b47

View file

@ -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 != '/')