Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/BaseObjectImpl.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/BaseObjectImpl.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/BaseObjectImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/BaseObjectImpl.java
index 510de0aa77..b6dac25bc0 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/BaseObjectImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/BaseObjectImpl.java
@@ -125,8 +125,7 @@ public class BaseObjectImpl extends EObjectImpl implements BaseObject
attributeOptional = newAttributeOptional;
if (eNotificationRequired())
{
- eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.BASE_OBJECT__ATTRIBUTE_OPTIONAL,
- oldAttributeOptional, attributeOptional));
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.BASE_OBJECT__ATTRIBUTE_OPTIONAL, oldAttributeOptional, attributeOptional));
}
}
@@ -149,8 +148,7 @@ public class BaseObjectImpl extends EObjectImpl implements BaseObject
attributeRequired = newAttributeRequired;
if (eNotificationRequired())
{
- eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.BASE_OBJECT__ATTRIBUTE_REQUIRED,
- oldAttributeRequired, attributeRequired));
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.BASE_OBJECT__ATTRIBUTE_REQUIRED, oldAttributeRequired, attributeRequired));
}
}
@@ -242,11 +240,9 @@ public class BaseObjectImpl extends EObjectImpl implements BaseObject
switch (featureID)
{
case Model6Package.BASE_OBJECT__ATTRIBUTE_OPTIONAL:
- return ATTRIBUTE_OPTIONAL_EDEFAULT == null ? attributeOptional != null
- : !ATTRIBUTE_OPTIONAL_EDEFAULT.equals(attributeOptional);
+ return ATTRIBUTE_OPTIONAL_EDEFAULT == null ? attributeOptional != null : !ATTRIBUTE_OPTIONAL_EDEFAULT.equals(attributeOptional);
case Model6Package.BASE_OBJECT__ATTRIBUTE_REQUIRED:
- return ATTRIBUTE_REQUIRED_EDEFAULT == null ? attributeRequired != null
- : !ATTRIBUTE_REQUIRED_EDEFAULT.equals(attributeRequired);
+ return ATTRIBUTE_REQUIRED_EDEFAULT == null ? attributeRequired != null : !ATTRIBUTE_REQUIRED_EDEFAULT.equals(attributeRequired);
case Model6Package.BASE_OBJECT__ATTRIBUTE_LIST:
return attributeList != null && !attributeList.isEmpty();
}

Back to the top