summaryrefslogtreecommitdiffstats
path: root/otest/newlayout/tuscany-policy-test-runner
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-09 21:43:34 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-09 21:43:34 +0000
commitdd6a6ba5665f09da2f3a70bcb8af7bc88b4684e0 (patch)
tree7ae74082e87d246bf24c120b1a0992c84c0eae36 /otest/newlayout/tuscany-policy-test-runner
parent6c51c6d6f32b9972ed825f1444309212f9d99a21 (diff)
Remove the calls to Node.destroy
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908242 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'otest/newlayout/tuscany-policy-test-runner')
-rw-r--r--otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyOSGiRuntimeBridge.java1
-rw-r--r--otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java2
2 files changed, 0 insertions, 3 deletions
diff --git a/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyOSGiRuntimeBridge.java b/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyOSGiRuntimeBridge.java
index afea19fe0b..8b909b0483 100644
--- a/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyOSGiRuntimeBridge.java
+++ b/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyOSGiRuntimeBridge.java
@@ -124,7 +124,6 @@ public class TuscanyOSGiRuntimeBridge implements RuntimeBridge {
public void stopContribution() {
if (node != null) {
node.stop();
- node.destroy();
} // end if
if (launcher != null) {
launcher.destroy();
diff --git a/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java b/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
index 9591be0192..78bc4a1399 100644
--- a/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
+++ b/otest/newlayout/tuscany-policy-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
@@ -26,7 +26,6 @@ import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
-import java.util.StringTokenizer;
import org.apache.tuscany.sca.node.Contribution;
import org.apache.tuscany.sca.node.ContributionLocationHelper;
@@ -130,7 +129,6 @@ public class TuscanyRuntimeBridge implements RuntimeBridge {
public void stopContribution() {
if (node != null) {
node.stop();
- node.destroy();
} // end if
if (launcher != null) {
launcher.destroy();