diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java index 3949f51627..3f39029dc7 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java @@ -70,6 +70,7 @@ import org.eclipse.emf.spi.cdo.InternalCDOView.ViewAndState; import java.util.Collection; import java.util.Collections; +import java.util.List; /** * The base class of all <em>native</em> {@link CDOObject objects}. @@ -1212,7 +1213,7 @@ public class CDOObjectImpl extends MinimalEStoreEObjectImpl implements InternalC if (feature.isMany()) { @SuppressWarnings("unchecked") - InternalEList<Object> list = (InternalEList<Object>)object.eGet(feature); + List<Object> list = (List<Object>)object.eGet(feature); int index = list.indexOf(instance); if (index != -1) { @@ -1527,7 +1528,7 @@ public class CDOObjectImpl extends MinimalEStoreEObjectImpl implements InternalC if (feature.isMany()) { @SuppressWarnings("unchecked") - InternalEList<Object> list = (InternalEList<Object>)eObject.eGet(feature); + List<Object> list = (InternalEList<Object>)eObject.eGet(feature); return list != null && !list.isEmpty(); } |