Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOObjectImpl.java16
1 files changed, 16 insertions, 0 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 dce81f2bcb..bdf0633457 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
@@ -635,6 +635,22 @@ public class CDOObjectImpl extends EStoreEObjectImpl implements InternalCDOObjec
size = delegateEList.size();
}
+ // Temporary fix. A fix should be available in EMF for that.
+ @Override
+ protected BasicEList<Entry<Object, Object>> newList()
+ {
+ return new BasicEList<Entry<Object, Object>>()
+ {
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ public Object[] newData(int listCapacity)
+ {
+ return new BasicEMap.Entry[listCapacity];
+ }
+ };
+ }
+
private void checkListForReading()
{
if (!FSMUtil.isTransient(CDOObjectImpl.this))

Back to the top