Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-09-09 14:22:07 -0400
committerMichael Valenta2003-09-09 14:22:07 -0400
commitcdcd75a074d805e152657a83584c3193e4f87eb2 (patch)
treef8be7556e3757372fca3b326b56ec20470a572a6
parent2c3c7b40452168e38b7d1912ca568eedd03f63e7 (diff)
downloadeclipse.platform.team-cdcd75a074d805e152657a83584c3193e4f87eb2.tar.gz
eclipse.platform.team-cdcd75a074d805e152657a83584c3193e4f87eb2.tar.xz
eclipse.platform.team-cdcd75a074d805e152657a83584c3193e4f87eb2.zip
Preemtive fix to bug
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/FetchMembersOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/FetchMembersOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/FetchMembersOperation.java
index add9a360b..4e268038e 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/FetchMembersOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/FetchMembersOperation.java
@@ -97,7 +97,7 @@ public class FetchMembersOperation extends RemoteOperation {
*/
protected void execute(IProgressMonitor monitor) throws CVSException, InterruptedException {
ICVSRemoteFolder remote = getRemoteFolder();
- if (remote instanceof RemoteFolder) {
+ if (remote.getClass().equals(RemoteFolder.class)) {
monitor = Policy.monitorFor(monitor);
boolean isRoot = remote.getName().equals(ICVSRemoteFolder.REPOSITORY_ROOT_FOLDER_NAME);
monitor.beginTask(null, 100 + (isRoot ? 30 : 0));

Back to the top