Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-10-17 04:55:20 +0000
committerEike Stepper2010-10-17 04:55:20 +0000
commit72e09a3c9196e551d3316607cc0d9f35a8dc2cb1 (patch)
tree50d310c4155eefa897a7b5ce3ebfc05ed2172c16 /plugins/org.eclipse.emf.cdo.workspace
parent0cdadb22aa96cf171b8d88940108c29e8f5df191 (diff)
downloadcdo-72e09a3c9196e551d3316607cc0d9f35a8dc2cb1.tar.gz
cdo-72e09a3c9196e551d3316607cc0d9f35a8dc2cb1.tar.xz
cdo-72e09a3c9196e551d3316607cc0d9f35a8dc2cb1.zip
Removed confusing return value from CDORevisionCache.addRevision()
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.workspace')
-rw-r--r--plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java b/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java
index e8f3ec1538..44b040783c 100644
--- a/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java
+++ b/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/CDOWorkspaceImpl.java
@@ -21,6 +21,8 @@ import org.eclipse.emf.cdo.common.revision.CDORevision;
import org.eclipse.emf.cdo.common.revision.CDORevisionHandler;
import org.eclipse.emf.cdo.common.revision.CDORevisionManager;
import org.eclipse.emf.cdo.common.revision.CDORevisionProvider;
+import org.eclipse.emf.cdo.common.revision.CDORevisionUtil;
+import org.eclipse.emf.cdo.common.revision.cache.CDORevisionCache;
import org.eclipse.emf.cdo.common.revision.delta.CDORevisionDeltaUtil;
import org.eclipse.emf.cdo.internal.server.Repository;
import org.eclipse.emf.cdo.net4j.CDONet4jUtil;
@@ -478,6 +480,7 @@ public class CDOWorkspaceImpl implements InternalCDOWorkspace
org.eclipse.emf.cdo.net4j.CDOSessionConfiguration configuration = CDONet4jUtil.createSessionConfiguration();
configuration.setConnector(connector);
configuration.setRepositoryName(repositoryName);
+ configuration.setRevisionManager(CDORevisionUtil.createRevisionManager(CDORevisionCache.NOOP)); // Use repo's cache
return (InternalCDOSession)configuration.openSession();
}

Back to the top