Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-04-23 16:11:29 -0400
committerMichael Valenta2004-04-23 16:11:29 -0400
commit7f0bb129789a1c96bab330e96a06a32b9b0f6b2f (patch)
tree01640eaa114333cae6f60c2873034e1499393c1f
parentd751df57fe0f9923b020905814d64f088f04e98d (diff)
downloadeclipse.platform.team-7f0bb129789a1c96bab330e96a06a32b9b0f6b2f.tar.gz
eclipse.platform.team-7f0bb129789a1c96bab330e96a06a32b9b0f6b2f.tar.xz
eclipse.platform.team-7f0bb129789a1c96bab330e96a06a32b9b0f6b2f.zip
59826: Improve responsiveness of sync view bootstrap
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSWorkspaceSubscriber.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSWorkspaceSubscriber.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSWorkspaceSubscriber.java
index 0af4902c9..9bad387b6 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSWorkspaceSubscriber.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSWorkspaceSubscriber.java
@@ -12,7 +12,6 @@ package org.eclipse.team.internal.ccvs.core;
import java.util.ArrayList;
import java.util.List;
-
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
@@ -22,7 +21,6 @@ import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.QualifiedName;
import org.eclipse.team.core.ITeamStatus;
import org.eclipse.team.core.RepositoryProvider;
@@ -42,7 +40,6 @@ import org.eclipse.team.internal.ccvs.core.syncinfo.CVSBaseResourceVariantTree;
import org.eclipse.team.internal.ccvs.core.syncinfo.CVSDescendantResourceVariantByteStore;
import org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree;
import org.eclipse.team.internal.ccvs.core.util.ResourceStateChangeListeners;
-import org.eclipse.team.internal.ccvs.core.Policy;
/**
* CVSWorkspaceSubscriber
@@ -184,10 +181,6 @@ public class CVSWorkspaceSubscriber extends CVSSyncTreeSubscriber implements IRe
for (int i = 0; i < resources.length; i++) {
IResource resource = resources[i];
try {
- // We need to do a scheduling rule on the project to
- // avoid overly desctructive operations from occuring
- // while we gather sync info
- Platform.getJobManager().beginRule(resource, monitor);
resource.accept(new IResourceVisitor() {
public boolean visit(IResource innerResource) throws CoreException {
try {
@@ -213,8 +206,6 @@ public class CVSWorkspaceSubscriber extends CVSSyncTreeSubscriber implements IRe
set.addError(new TeamStatus(
IStatus.ERROR, CVSProviderPlugin.ID, ITeamStatus.SYNC_INFO_SET_ERROR,
e.getMessage(), e, ResourcesPlugin.getWorkspace().getRoot()));
- } finally {
- Platform.getJobManager().endRule(resource);
}
}
monitor.done();

Back to the top