mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
create element if the recycled one is null (defect 143438)
This commit is contained in:
parent
317c2afd3a
commit
5c2813c452
1 changed files with 1 additions and 1 deletions
|
@ -3662,7 +3662,7 @@ public final class DataStore
|
||||||
newObject = (DataElement) _recycled.remove((_recycled.size() - 1));
|
newObject = (DataElement) _recycled.remove((_recycled.size() - 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
if (newObject == null)
|
||||||
{
|
{
|
||||||
newObject = new DataElement(this);
|
newObject = new DataElement(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue