Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-06-03 03:50:33 -0400
committerEike Stepper2013-06-03 03:50:33 -0400
commit905ef22d2f8422ece299560630f4b393ab14a7e4 (patch)
tree7920183045f7a891712c760eb9cd524963cf3fa0
parenta75a40b480bc40c3578e0836f15881aa838058c2 (diff)
downloadcdo-905ef22d2f8422ece299560630f4b393ab14a7e4.tar.gz
cdo-905ef22d2f8422ece299560630f4b393ab14a7e4.tar.xz
cdo-905ef22d2f8422ece299560630f4b393ab14a7e4.zip
[408615] CCE in CDOObjectImpl.isSet
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408615
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java5
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();
}

Back to the top