Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-09-09 13:11:40 -0400
committerMichael Valenta2003-09-09 13:11:40 -0400
commitf8d4f18b6a9a9615bf9dfa7c332a4485e6302a88 (patch)
treed0bc3d352c128627e8ba0486394d1a4353954458
parent99bfb0eb6219b1eb5413cc18f2c80a3263297c51 (diff)
downloadeclipse.platform.team-f8d4f18b6a9a9615bf9dfa7c332a4485e6302a88.tar.gz
eclipse.platform.team-f8d4f18b6a9a9615bf9dfa7c332a4485e6302a88.tar.xz
eclipse.platform.team-f8d4f18b6a9a9615bf9dfa7c332a4485e6302a88.zip
*** empty log message ***
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/ConcurrencyTests.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/ConcurrencyTests.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/ConcurrencyTests.java
index c8c098343..5cf94d563 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/ConcurrencyTests.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/ConcurrencyTests.java
@@ -24,6 +24,7 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.jobs.IJobChangeEvent;
import org.eclipse.core.runtime.jobs.IJobChangeListener;
+import org.eclipse.core.runtime.jobs.JobChangeAdapter;
import org.eclipse.jface.progress.IElementCollector;
import org.eclipse.team.core.TeamException;
import org.eclipse.team.internal.ccvs.core.ICVSRemoteFolder;
@@ -70,15 +71,10 @@ public class ConcurrencyTests extends EclipseTest {
done[0] = true;
}
};
- IJobChangeListener listener = new IJobChangeListener() {
- public void aboutToRun(IJobChangeEvent event) {}
- public void awake(IJobChangeEvent event) {}
+ IJobChangeListener listener = new JobChangeAdapter() {
public void done(IJobChangeEvent event) {
done[0] = true;
}
- public void running(IJobChangeEvent event) {}
- public void scheduled(IJobChangeEvent event) {}
- public void sleeping(IJobChangeEvent event) {}
};
FetchMembersOperation operation = new FetchMembersOperation(null, folder, collector);
operation.setCVSRunnableContext(new HeadlessCVSRunnableContext(listener));

Back to the top