Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-08-20 14:57:40 +0000
committerMichael Valenta2003-08-20 14:57:40 +0000
commitd2fa5999771e9955aaf05c8fbf41750d9a17fce2 (patch)
treebd98931c392c3b1b5ee545782f191e5faeba9e1c
parentfc09e816fbdb906077fea0a824c3c5d16c76e7e1 (diff)
downloadeclipse.platform.team-d2fa5999771e9955aaf05c8fbf41750d9a17fce2.tar.gz
eclipse.platform.team-d2fa5999771e9955aaf05c8fbf41750d9a17fce2.tar.xz
eclipse.platform.team-d2fa5999771e9955aaf05c8fbf41750d9a17fce2.zip
Removed use of IWorkspace.checkpoint()
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java5
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java2
3 files changed, 1 insertions, 8 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
index abaef6229..3b60cea67 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
@@ -14,7 +14,6 @@ import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
-import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.resources.WorkspaceJob;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -136,10 +135,6 @@ public abstract class CVSOperation implements IRunnableWithProgress {
};
}
- protected void fireDelta() {
- ResourcesPlugin.getWorkspace().checkpoint(false);
- }
-
/**
* Run the operation. Progress feedback will be provided by one of the following mechanisms
* (in priotiry order):
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java
index c8a882032..0bac821b6 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java
@@ -357,7 +357,7 @@ public class CheckoutIntoOperation extends CheckoutOperation {
}
manageFolders(targetFolders, repository.getLocation());
- fireDelta();
+
} finally {
session.close();
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
index 1d11350d3..4724af822 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
@@ -411,8 +411,6 @@ public abstract class CheckoutProjectOperation extends CheckoutOperation {
CVSTeamProvider provider = (CVSTeamProvider)RepositoryProvider.getProvider(project, CVSProviderPlugin.getTypeId());
provider.setWatchEditEnabled(CVSProviderPlugin.getPlugin().isWatchEditEnabled());
}
- // Allow deltas to be sent out
- fireDelta();
} finally {
monitor.done();
}

Back to the top