diff options
author | Uwe Stieber | 2012-06-12 18:50:41 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-06-12 18:50:41 +0000 |
commit | e896bcf968e37540d8f7241d7ec589ccf2274a43 (patch) | |
tree | a84b40e2ee443ac9be576686d7f548f4fd1d44fd /target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent | |
parent | 1c405762430e121793064bc625428db28dc14e14 (diff) | |
download | org.eclipse.tcf-e896bcf968e37540d8f7241d7ec589ccf2274a43.tar.gz org.eclipse.tcf-e896bcf968e37540d8f7241d7ec589ccf2274a43.tar.xz org.eclipse.tcf-e896bcf968e37540d8f7241d7ec589ccf2274a43.zip |
Target Explorer: Fix newly added unit tests and revealed issues
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent/src/org/eclipse/tcf/te/runtime/concurrent/executors/AbstractDelegatingExecutorService.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent/src/org/eclipse/tcf/te/runtime/concurrent/executors/AbstractDelegatingExecutorService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent/src/org/eclipse/tcf/te/runtime/concurrent/executors/AbstractDelegatingExecutorService.java index e5df0a65f..d73f5f063 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent/src/org/eclipse/tcf/te/runtime/concurrent/executors/AbstractDelegatingExecutorService.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.concurrent/src/org/eclipse/tcf/te/runtime/concurrent/executors/AbstractDelegatingExecutorService.java @@ -58,9 +58,7 @@ public abstract class AbstractDelegatingExecutorService extends ExecutableExtens } } - // Create the executor service delegate - this.delegate = createExecutorServiceDelegate(); - Assert.isNotNull(delegate); + initializeExecutorServiceDelegate(); } /** @@ -73,6 +71,15 @@ public abstract class AbstractDelegatingExecutorService extends ExecutableExtens } /** + * Initialize the executor service delegate + */ + public final void initializeExecutorServiceDelegate() { + // Create the executor service delegate + this.delegate = createExecutorServiceDelegate(); + Assert.isNotNull(delegate); + } + + /** * Invoked by the constructor exactly once to create the executor service * delegate instance. * |