summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-08 06:04:48 (EDT)
committerEike Stepper2007-08-08 06:04:48 (EDT)
commit4d8706fbed5034715974877ce56a1d811e066bf8 (patch)
treeda5b9fe9b6523a8e769f38683e4f4715003022a4
parent7f0ca4d50d0f1114b33e43e0fd5fab7fd948ce61 (diff)
downloadcdo-4d8706fbed5034715974877ce56a1d811e066bf8.zip
cdo-4d8706fbed5034715974877ce56a1d811e066bf8.tar.gz
cdo-4d8706fbed5034715974877ce56a1d811e066bf8.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java
index 65c31b5..6fdbca0 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOCallbackImpl.java
@@ -101,8 +101,11 @@ public class CDOCallbackImpl extends CDOAdapterImpl implements CDOCallback
private void notifyAdd(InternalEObject instance)
{
- InternalCDOObject object = FSMUtil.adapt(instance, view);
- CDOStateMachine.INSTANCE.attach(object, cdoResource(), view);
+ if (!instance.eDeliver())
+ {
+ InternalCDOObject object = FSMUtil.adapt(instance, view);
+ CDOStateMachine.INSTANCE.attach(object, cdoResource(), view);
+ }
}
private void notifyRemoveMany(Notification msg)