Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-07-28 03:14:40 -0400
committerEike Stepper2011-07-28 03:14:40 -0400
commitdc829a8d0af2d97854867303601116a64bc37088 (patch)
treecd42be9d2cf7abc85edf26b7959e29e2cfb26705
parente7c3c519acd2e3620ad0cb2dd152605144f5af5d (diff)
downloadcdo-dc829a8d0af2d97854867303601116a64bc37088.tar.gz
cdo-dc829a8d0af2d97854867303601116a64bc37088.tar.xz
cdo-dc829a8d0af2d97854867303601116a64bc37088.zip
[352977] Dirty Objects of CDOTransaction with CDOSavepoint
https://bugs.eclipse.org/bugs/show_bug.cgi?id=352977
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOObjectMerger.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOObjectMerger.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOObjectMerger.java
index 62b55fe0cb..28dc7d179c 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOObjectMerger.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOObjectMerger.java
@@ -32,7 +32,8 @@ public class CDOObjectMerger extends CDORevisionMerger
*/
public synchronized void merge(InternalCDOObject object, CDORevisionDelta delta)
{
- InternalCDORevision revision = object.cdoRevision().copy();
+ InternalCDORevision oldRevision = object.cdoRevision();
+ InternalCDORevision revision = oldRevision.copy();
object.cdoInternalSetRevision(revision);
// NEW object should stay that state.

Back to the top