Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2019-10-22 09:12:14 +0000
committerEike Stepper2019-10-22 09:12:14 +0000
commitfd75faf864e6584fbf56a8eca702b20a805abb62 (patch)
tree4712888e0a6d9284062f8b873cff0adee16da6eb /plugins/org.eclipse.emf.cdo.common/src
parentc790e409b089df39713217506a9e51d877ca97fa (diff)
downloadcdo-fd75faf864e6584fbf56a8eca702b20a805abb62.tar.gz
cdo-fd75faf864e6584fbf56a8eca702b20a805abb62.tar.xz
cdo-fd75faf864e6584fbf56a8eca702b20a805abb62.zip
[552307] Move DB4O, Hibernate and Objectivity support to cdo.old
https://bugs.eclipse.org/bugs/show_bug.cgi?id=552307
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.common/src')
-rw-r--r--plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/revision/CDOListImpl.java3
-rw-r--r--plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/revision/BaseCDORevision.java15
2 files changed, 8 insertions, 10 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/revision/CDOListImpl.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/revision/CDOListImpl.java
index b642798890..303e862e8c 100644
--- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/revision/CDOListImpl.java
+++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/revision/CDOListImpl.java
@@ -76,9 +76,6 @@ public class CDOListImpl extends BasicEList<Object> implements InternalCDOList.C
return super.get(index);
}
- /**
- * There's a duplicate of this method in WrappedHibernateList!!!
- */
public boolean adjustReferences(CDOReferenceAdjuster revisionAdjuster, EStructuralFeature feature)
{
boolean changed = false;
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/revision/BaseCDORevision.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/revision/BaseCDORevision.java
index 0a1dad8591..70a476d8fd 100644
--- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/revision/BaseCDORevision.java
+++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/revision/BaseCDORevision.java
@@ -796,13 +796,14 @@ public abstract class BaseCDORevision extends AbstractCDORevision
public void unset(EStructuralFeature feature)
{
- if (feature.isMany() && isListPreserving())
- {
- // isListPreserving() is always false except for HibernateStoreAccessor.
- // For performance reasons this Hibernate-specific feature should probably be implemented via a custom revision factory.
- getOrCreateList(feature).clear();
- }
- else
+ // if (feature.isMany() && isListPreserving())
+ // {
+ // // isListPreserving() is always false except for HibernateStoreAccessor.
+ // // For performance reasons this Hibernate-specific feature should probably be implemented via a custom revision
+ // factory.
+ // getOrCreateList(feature).clear();
+ // }
+ // else
{
setValue(feature, null);
}

Back to the top