Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-12-16 07:38:13 -0500
committerEike Stepper2011-12-16 07:38:13 -0500
commit310b25740c271244a2fda7909444eb6120f8f66e (patch)
tree3a83deee31b9cc5685d3e770f3f284198b607ef9
parent18500fcec4f0d83b912b11909b0e634c9cd78d53 (diff)
downloadcdo-310b25740c271244a2fda7909444eb6120f8f66e.tar.gz
cdo-310b25740c271244a2fda7909444eb6120f8f66e.tar.xz
cdo-310b25740c271244a2fda7909444eb6120f8f66e.zip
Keep string references to newRevisions until the method ends
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java
index 3569675e78..c4c25661d6 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java
@@ -618,7 +618,8 @@ public abstract class CDOSessionImpl extends CDOTransactionContainerImpl impleme
Map<CDOID, InternalCDORevision> oldRevisions = viewedRevisions.get(branch);
List<CDORevisionKey> changedObjects = new ArrayList<CDORevisionKey>();
- for (InternalCDORevision newRevision : result.getChangedObjects(branch))
+ List<InternalCDORevision> newRevisions = result.getChangedObjects(branch);
+ for (InternalCDORevision newRevision : newRevisions)
{
getRevisionManager().addRevision(newRevision);

Back to the top