diff options
author | Eike Stepper | 2010-02-16 06:45:17 +0000 |
---|---|---|
committer | Eike Stepper | 2010-02-16 06:45:17 +0000 |
commit | 12af683c1026f94c77abe7bc5e72cd9872f334fb (patch) | |
tree | 202823668cead886d4ff8da0b0eed96f64492be8 | |
parent | 188b5ebe12601dd140b6bb756ac3705d694c73b7 (diff) | |
download | cdo-12af683c1026f94c77abe7bc5e72cd9872f334fb.tar.gz cdo-12af683c1026f94c77abe7bc5e72cd9872f334fb.tar.xz cdo-12af683c1026f94c77abe7bc5e72cd9872f334fb.zip |
[256936] Support for Offline Mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256936
-rw-r--r-- | plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java index b689c8ca0e..52759b1828 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java @@ -1649,14 +1649,14 @@ public class CDOViewImpl extends Lifecycle implements InternalCDOView { for (InternalCDOObject object : objects.values()) { - CDOID id = object.cdoID(); - if (revisions.containsKey(id)) + CDOState state = object.cdoState(); + if (state != CDOState.CLEAN && state != CDOState.DIRTY && state != CDOState.CONFLICT) { continue; } - CDOState state = object.cdoState(); - if (state != CDOState.CLEAN && state != CDOState.DIRTY && state != CDOState.CONFLICT) + CDOID id = object.cdoID(); + if (revisions.containsKey(id)) { continue; } |