1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

create element if the recycled one is null (defect 143438)

This commit is contained in:
David McKnight 2006-05-24 16:09:11 +00:00
parent 317c2afd3a
commit 5c2813c452

View file

@ -3662,7 +3662,7 @@ public final class DataStore
newObject = (DataElement) _recycled.remove((_recycled.size() - 1));
}
}
else
if (newObject == null)
{
newObject = new DataElement(this);
}