summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-11-13 02:04:01 (EST)
committerEike Stepper2007-11-13 02:04:01 (EST)
commit84918dcb013f5c44f3bc32cf1f7cd10d63650361 (patch)
tree01d73f8f28dbef75890ebae2ea7e821e626ce704
parentf998f51419024637ce2183e62879812f471ef03d (diff)
downloadcdo-84918dcb013f5c44f3bc32cf1f7cd10d63650361.zip
cdo-84918dcb013f5c44f3bc32cf1f7cd10d63650361.tar.gz
cdo-84918dcb013f5c44f3bc32cf1f7cd10d63650361.tar.bz2
[209307] Optimize reload() to only verify current revisions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209307
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
index bdb9ae2..e839a36 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
@@ -1,5 +1,6 @@
package org.eclipse.emf.internal.cdo;
+import org.eclipse.emf.cdo.CDOSession;
import org.eclipse.emf.cdo.CDOState;
import org.eclipse.emf.cdo.CDOView;
import org.eclipse.emf.cdo.eresource.CDOResource;
@@ -509,7 +510,7 @@ public final class CDOStateMachine extends FiniteStateMachine<CDOState, CDOEvent
try
{
String path = CDOUtil.extractResourcePath(resource.getURI());
- CDOSessionImpl session = view.getSession();
+ CDOSession session = view.getSession();
IFailOverStrategy failOverStrategy = session.getFailOverStrategy();
ResourceIDRequest request = new ResourceIDRequest(session.getChannel(), path);