1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 12:35:22 +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

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