summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/vtest/utilities
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-01-29 15:00:33 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-01-29 15:00:33 +0000
commit62bd754d0a94844170a304b616fc7bc1b0cc6979 (patch)
tree08e3aba639e02ec584049ab5e92ea2ffc7452bba /branches/sca-java-1.x/vtest/utilities
parent9d36a7f7532af350c29467a75b8b89e6757b3d21 (diff)
TUSCANY-2291, Separate the mixed callback error validation test from the other callback tests so that the error doesn't affect the rest of the tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@738875 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/vtest/utilities')
-rw-r--r--branches/sca-java-1.x/vtest/utilities/src/main/java/org/apache/tuscany/sca/vtest/utilities/ServiceFinder.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/vtest/utilities/src/main/java/org/apache/tuscany/sca/vtest/utilities/ServiceFinder.java b/branches/sca-java-1.x/vtest/utilities/src/main/java/org/apache/tuscany/sca/vtest/utilities/ServiceFinder.java
index 9b6792e51b..b1ba978d1c 100644
--- a/branches/sca-java-1.x/vtest/utilities/src/main/java/org/apache/tuscany/sca/vtest/utilities/ServiceFinder.java
+++ b/branches/sca-java-1.x/vtest/utilities/src/main/java/org/apache/tuscany/sca/vtest/utilities/ServiceFinder.java
@@ -53,7 +53,10 @@ public class ServiceFinder {
}
public static void cleanup() {
- domain.close();
+ if (domain != null){
+ domain.close();
+ }
+
domain = null;
}