Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-12-12 17:55:42 +0000
committerEike Stepper2010-12-12 17:55:42 +0000
commit458f6385a358a30136d6bb256c2318c88ce48892 (patch)
tree781d3bf80fcc2d5dfdf83f6bdc42d9423f82bc7e /plugins/org.eclipse.emf.cdo.server.hibernate
parent726a5ae71ae8ae8d0ffedabda9a3e809e2218818 (diff)
downloadcdo-458f6385a358a30136d6bb256c2318c88ce48892.tar.gz
cdo-458f6385a358a30136d6bb256c2318c88ce48892.tar.xz
cdo-458f6385a358a30136d6bb256c2318c88ce48892.zip
[327405] Provide an offline CDOWorkspace with Checkout/Update/Commit workflows
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327405
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/WrappedHibernateList.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/WrappedHibernateList.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/WrappedHibernateList.java
index 0dff31d7e5..c0a44d82dc 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/WrappedHibernateList.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/WrappedHibernateList.java
@@ -103,8 +103,10 @@ public class WrappedHibernateList implements InternalCDOList
/**
* There's a duplicate of this method in CDOListImpl!!!
*/
- public void adjustReferences(CDOReferenceAdjuster adjuster, EStructuralFeature feature)
+ public boolean adjustReferences(CDOReferenceAdjuster adjuster, EStructuralFeature feature)
{
+ boolean changed = false;
+
CDOType type = CDOModelUtil.getType(feature);
int size = size();
for (int i = 0; i < size; i++)
@@ -114,8 +116,11 @@ public class WrappedHibernateList implements InternalCDOList
if (newID != element)
{
set(i, newID);
+ changed = true;
}
}
+
+ return changed;
}
public InternalCDOList clone(EClassifier classifier)

Back to the top