1
0
Fork 0
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:
David McKnight 2006-11-01 20:43:40 +00:00
parent a69a68c5ca
commit 4cad0226b2
2 changed files with 6 additions and 1 deletions

View file

@ -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);

View file

@ -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) ||