summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Winkler2009-04-20 10:52:42 (EDT)
committerStefan Winkler2009-04-20 10:52:42 (EDT)
commit362ab01e76d09a4e42f09d14b25b23a8d04d10f1 (patch)
treea265eb8710b4aec3e898a1bdd8f18062f5d445db
parent7bf7840093123f1830c2c8e7a3f8909f5c608c36 (diff)
downloadcdo-362ab01e76d09a4e42f09d14b25b23a8d04d10f1.zip
cdo-362ab01e76d09a4e42f09d14b25b23a8d04d10f1.tar.gz
cdo-362ab01e76d09a4e42f09d14b25b23a8d04d10f1.tar.bz2
[272903] Multivalued attribute support leftover in RevisionManager.ensureChunks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272903
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/RevisionManager.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/RevisionManager.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/RevisionManager.java
index f69f8ba..0f7f8f5 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/RevisionManager.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/RevisionManager.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
* Simon McDuff - http://bugs.eclipse.org/201266
@@ -28,7 +28,6 @@ import org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision;
import org.eclipse.net4j.util.collection.MoveableList;
import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
import java.util.ArrayList;
@@ -100,7 +99,7 @@ public class RevisionManager extends CDORevisionResolverImpl implements IRevisio
for (int i = 0; i < features.length; i++)
{
EStructuralFeature feature = features[i];
- if (feature instanceof EReference && feature.isMany())
+ if (feature.isMany())
{
MoveableList<Object> list = revision.getList(feature);
int chunkEnd = Math.min(referenceChunk, list.size());