Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/RefSingleNonContainedNPLImpl.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/RefSingleNonContainedNPLImpl.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/RefSingleNonContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/RefSingleNonContainedNPLImpl.java
index 5f601bbd1b..74f0e98141 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/RefSingleNonContainedNPLImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/RefSingleNonContainedNPLImpl.java
@@ -76,8 +76,10 @@ public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSing
if (element != oldElement)
{
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT, oldElement, element));
+ {
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT,
+ oldElement, element));
+ }
}
}
return element;
@@ -101,8 +103,10 @@ public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSing
ContainedElementNoOpposite oldElement = element;
element = newElement;
if (eNotificationRequired())
+ {
eNotify(new ENotificationImpl(this, Notification.SET, model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT,
oldElement, element));
+ }
}
/**
@@ -116,7 +120,9 @@ public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSing
{
case model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT:
if (resolve)
+ {
return getElement();
+ }
return basicGetElement();
}
return super.eGet(featureID, resolve, coreType);

Back to the top