1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

[367096] [dstore] DataElement.isSpirit() may return true for newly created DStore objects

This commit is contained in:
David McKnight 2011-12-20 15:06:47 +00:00
parent bb171e9c41
commit 0d59141d99

View file

@ -39,6 +39,7 @@
* David McKnight (IBM) - [340080] [dstore] empty string should not be allowed as a DataElement ID
* David McKnight (IBM) - [351993] [dstore] not able to connect to server if .eclipse folder not available
* David McKnight (IBM) - [366070] [dstore] fix for bug 351993 won't allow tracing if .dstoreTrace doesn't exist
* David McKnight (IBM) - [367096] [dstore] DataElement.isSpirit() may return true for newly created DStore objects
*******************************************************************************/
package org.eclipse.dstore.core.model;
@ -3944,7 +3945,7 @@ public final class DataStore
{
newObject = new DataElement(this);
}
newObject.setSpirit(false);
newObject.setUpdated(false);
updateLastCreated(newObject);
return newObject;