mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
deleted elements should return "" for name
This commit is contained in:
parent
26b427d43a
commit
87b0615a93
1 changed files with 5 additions and 0 deletions
|
@ -235,6 +235,11 @@ public class DStoreHostFile implements IHostFile
|
|||
public String getAbsolutePath()
|
||||
{
|
||||
String name = _element.getName();
|
||||
if (name == null)
|
||||
{
|
||||
// this element is deleted
|
||||
return "";
|
||||
}
|
||||
if (name.length() == 0)
|
||||
{
|
||||
return _element.getValue();
|
||||
|
|
Loading…
Add table
Reference in a new issue