summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-12-04 23:15:09 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-12-04 23:15:09 +0000
commitadcdbcea4e797cee79477319ea85e6736bde06b9 (patch)
tree11c28cd34ded12375dc5a3c44b45aed371ec75a3 /sca-java-2.x/trunk
parent8f0ebc50bbdd23b71246a0d8bfbb21786d2136b0 (diff)
Avoid starting the node twice
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@887441 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java b/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java
index 3fb84d1a8e..be8c3e23b5 100644
--- a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java
+++ b/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java
@@ -31,8 +31,6 @@ public class CalculatorClient {
public static void main(String[] args) throws Exception {
Node node = NodeFactory.newInstance().createNode(null, new String[] {"target/classes"}).start();
-
- node.start();
CalculatorService calculatorService = ((Client)node).getService(CalculatorService.class, "CalculatorServiceComponent");