1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

[276103] Files with names in different cases are not handled properly

This commit is contained in:
David McKnight 2009-05-20 15:08:00 +00:00
parent 06f9bbfe7d
commit ebf19c79d2

View file

@ -3450,10 +3450,8 @@ public class SystemViewRemoteFileAdapter
Object obj = properties.getRemoteFileObject();
if (obj != null && obj instanceof SystemEditableRemoteFile)
{
SystemEditableRemoteFile rmtObj = (SystemEditableRemoteFile) obj;
if (rmtObj.checkOpenInEditor() != ISystemEditableRemoteObject.NOT_OPEN){ // if this is open
return rmtObj;
}
SystemEditableRemoteFile rmtObj = (SystemEditableRemoteFile) obj;
return rmtObj; // return regardless of whehter it's open - open handling is taken care of after
}
}
return new SystemEditableRemoteFile(remoteFile);