mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
fix for Bug 162962
This commit is contained in:
parent
a69a68c5ca
commit
4cad0226b2
2 changed files with 6 additions and 1 deletions
|
@ -761,7 +761,10 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
|||
}
|
||||
else
|
||||
{
|
||||
de = getElementFor(remoteParent + getSeparator(remoteParent) + name);
|
||||
StringBuffer buf = new StringBuffer(remoteParent);
|
||||
buf.append(getSeparator(remoteParent));
|
||||
buf.append(name);
|
||||
de = getElementFor(buf.toString());
|
||||
}
|
||||
dsQueryCommand(monitor, de, C_QUERY_GET_REMOTE_OBJECT);
|
||||
return new DStoreHostFile(de);
|
||||
|
|
|
@ -214,6 +214,8 @@ public class DStoreHostFile implements IHostFile
|
|||
|
||||
public boolean exists()
|
||||
{
|
||||
if (_element.isDeleted())
|
||||
return false;
|
||||
String type = _element.getType();
|
||||
if (type.equals(IUniversalDataStoreConstants.UNIVERSAL_FILE_DESCRIPTOR) ||
|
||||
type.equals(IUniversalDataStoreConstants.UNIVERSAL_FOLDER_DESCRIPTOR) ||
|
||||
|
|
Loading…
Add table
Reference in a new issue