Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McDuff2008-11-13 09:40:27 -0500
committerSimon McDuff2008-11-13 09:40:27 -0500
commit28a5d638cdb89afca9d212409ac22cf4b7225cba (patch)
tree88ac368b5d03c864336babc3c31c8082985d8110 /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util
parent3b3218b3b2acc46d831e77b65b167fbef920ec2f (diff)
downloadcdo-28a5d638cdb89afca9d212409ac22cf4b7225cba.tar.gz
cdo-28a5d638cdb89afca9d212409ac22cf4b7225cba.tar.xz
cdo-28a5d638cdb89afca9d212409ac22cf4b7225cba.zip
[228190] Provide support for multivalued attributes
https://bugs.eclipse.org/bugs/show_bug.cgi?id=228190
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/RevisionAdjuster.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/RevisionAdjuster.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/RevisionAdjuster.java
index 46035dd616..09d7b10b02 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/RevisionAdjuster.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/RevisionAdjuster.java
@@ -25,7 +25,7 @@ import org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImp
import org.eclipse.emf.cdo.spi.common.InternalCDOList;
import org.eclipse.emf.cdo.spi.common.InternalCDORevision;
-import org.eclipse.emf.internal.cdo.revision.CDOReferenceProxy;
+import org.eclipse.emf.internal.cdo.revision.CDOElementProxy;
/**
* @author Simon McDuff
@@ -67,7 +67,7 @@ public class RevisionAdjuster extends CDOFeatureDeltaVisitorImpl
{
CDOFeature feature = delta.getFeature();
Object value = delta.getValue();
- if (value != null && feature.isReference() && !(value instanceof CDOReferenceProxy))
+ if (value != null && feature.isReference() && !(value instanceof CDOElementProxy))
{
revision.setValue(feature, referenceAdjuster.adjustReference(value));
}
@@ -86,7 +86,7 @@ public class RevisionAdjuster extends CDOFeatureDeltaVisitorImpl
{
int index = indices[i];
Object value = list.get(index);
- if (value != null && !(value instanceof CDOReferenceProxy))
+ if (value != null && !(value instanceof CDOElementProxy))
{
value = referenceAdjuster.adjustReference(value);
list.set(index, value);

Back to the top