Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2011-01-04 07:25:52 -0500
committerTomasz Zarna2011-01-04 07:25:52 -0500
commitf2a485d1c4b828eaab0a31c153275ec9bc5fae64 (patch)
treeb888bdb0498273880c97c1e7071a9d0c6cd95d49
parent1092b129dc88375b499e33b31fe03e09c5fc5b26 (diff)
downloadeclipse.platform.team-f2a485d1c4b828eaab0a31c153275ec9bc5fae64.tar.gz
eclipse.platform.team-f2a485d1c4b828eaab0a31c153275ec9bc5fae64.tar.xz
eclipse.platform.team-f2a485d1c4b828eaab0a31c153275ec9bc5fae64.zip
code cleanup
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/WorkspaceTraversalAction.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/WorkspaceTraversalAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/WorkspaceTraversalAction.java
index 6f40a7e83..4a638767c 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/WorkspaceTraversalAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/WorkspaceTraversalAction.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -93,13 +93,7 @@ public abstract class WorkspaceTraversalAction extends WorkspaceAction {
}
protected IResource[] getResourcesToCompare(final Subscriber subscriber) throws InvocationTargetException {
- ISynchronizationScopeManager manager = new SynchronizationScopeManager("", //$NON-NLS-1$
- getCVSResourceMappings(), SubscriberResourceMappingContext.createContext(subscriber), true);
- try {
- return getResourcesToCompare(manager);
- } finally {
- manager.dispose();
- }
+ return getResourcesToCompare(getCVSResourceMappings(), subscriber);
}
protected ResourceMappingContext getResourceMappingContext() {

Back to the top