Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-01-06 11:17:50 +0000
committerEike Stepper2010-01-06 11:17:50 +0000
commit8c6e74d407ff0f668a2a107e1a3f169bca8dfae4 (patch)
tree747ac8c1e52cf4f952816cf43aa7b2ec9225ca97 /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal
parentd324edb00392cc9c996489f4843c9cd494ce714f (diff)
downloadcdo-8c6e74d407ff0f668a2a107e1a3f169bca8dfae4.tar.gz
cdo-8c6e74d407ff0f668a2a107e1a3f169bca8dfae4.tar.xz
cdo-8c6e74d407ff0f668a2a107e1a3f169bca8dfae4.zip
[296450] isSet method returns incorrect value after load
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296450
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStore.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStore.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStore.java
index adbdbfdb40..3fc0a23ac1 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStore.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStore.java
@@ -171,7 +171,7 @@ public final class CDOStore implements EStore
view.getFeatureAnalyzer().preTraverseFeature(cdoObject, feature, index);
InternalCDORevision revision = getRevisionForReading(cdoObject);
- Object value = revision.getValue(feature, index);
+ Object value = revision.get(feature, index);
value = convertToEMF(eObject, revision, feature, index, value);
view.getFeatureAnalyzer().postTraverseFeature(cdoObject, feature, index, value);
@@ -193,7 +193,7 @@ public final class CDOStore implements EStore
InternalCDORevision revision = getRevisionForReading(cdoObject);
- Object value = revision.getValue(feature, NO_INDEX);
+ Object value = revision.get(feature, NO_INDEX);
return value != null;
}
@@ -345,12 +345,12 @@ public final class CDOStore implements EStore
// TODO Clarify feature maps
if (feature instanceof EReference)
{
- Object oldValue = revision.getValue(feature, index);
+ Object oldValue = revision.get(feature, index);
oldValue = resolveProxy(revision, feature, index, oldValue);
value = cdoObject.cdoView().convertObjectToID(value, true);
}
- Object oldValue = revision.setValue(feature, index, value);
+ Object oldValue = revision.set(feature, index, value);
oldValue = convertToEMF(eObject, revision, feature, index, oldValue);
return oldValue;
}

Back to the top