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:
parent
06f9bbfe7d
commit
ebf19c79d2
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue