Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-09-29 21:02:10 +0000
committerMichael Valenta2004-09-29 21:02:10 +0000
commit16cb057595fe10ec8388346abcd9b01f258efda3 (patch)
tree622d4d834b9408c966243fee3488455318aefaed
parentdf1442ac0fab1ceec0f2e1c7d9ea57f2b3ce89f2 (diff)
downloadeclipse.platform.team-16cb057595fe10ec8388346abcd9b01f258efda3.tar.gz
eclipse.platform.team-16cb057595fe10ec8388346abcd9b01f258efda3.tar.xz
eclipse.platform.team-16cb057595fe10ec8388346abcd9b01f258efda3.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSChangeSetCollector.java4
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java2
2 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSChangeSetCollector.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSChangeSetCollector.java
index 05bb0c15d..f86875eeb 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSChangeSetCollector.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSChangeSetCollector.java
@@ -298,9 +298,9 @@ public class CVSChangeSetCollector extends SyncInfoSetChangeSetCollector {
if (remoteResources.length > 0) {
RemoteLogOperation logOperation = new RemoteLogOperation(getConfiguration().getSite().getPart(), remoteResources, localTag, remoteTag, cache);
logOperation.execute(monitor);
- }
-
+ }
}
+
private ICVSRemoteResource[] getRemotes(SyncInfo[] infos) {
List remotes = new ArrayList();
for (int i = 0; i < infos.length; i++) {
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
index a50e40c92..990eb4428 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
@@ -116,6 +116,7 @@ public class ChangeSetModelProvider extends CompositeModelProvider {
this.subProvierId = subProvierId;
collector = getChangeSetCapability().createCheckedInChangeSetCollector(configuration);
collector.setProvider(this);
+ collector.addListener(collectorListener);
}
/* (non-Javadoc)
@@ -287,6 +288,7 @@ public class ChangeSetModelProvider extends CompositeModelProvider {
}
public void dispose() {
+ collector.removeListener(collectorListener);
collector.dispose();
super.dispose();
}

Back to the top