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:
parent
565407b960
commit
ae94f40b47
1 changed files with 2 additions and 2 deletions
|
@ -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 != '/')
|
||||
|
|
Loading…
Add table
Reference in a new issue