summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java2
-rw-r--r--sca-java-2.x/trunk/samples/calculator/src/test/java/calculator/CalculatorTestCase.java2
2 files changed, 2 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 be8c3e23b5..24c279948b 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
@@ -30,7 +30,7 @@ import org.apache.tuscany.sca.node.NodeFactory;
public class CalculatorClient {
public static void main(String[] args) throws Exception {
- Node node = NodeFactory.newInstance().createNode(null, new String[] {"target/classes"}).start();
+ Node node = NodeFactory.newInstance().createNode((String)null, new String[] {"target/classes"}).start();
CalculatorService calculatorService = ((Client)node).getService(CalculatorService.class, "CalculatorServiceComponent");
diff --git a/sca-java-2.x/trunk/samples/calculator/src/test/java/calculator/CalculatorTestCase.java b/sca-java-2.x/trunk/samples/calculator/src/test/java/calculator/CalculatorTestCase.java
index eaf56a1cfe..4f89ae8c8d 100644
--- a/sca-java-2.x/trunk/samples/calculator/src/test/java/calculator/CalculatorTestCase.java
+++ b/sca-java-2.x/trunk/samples/calculator/src/test/java/calculator/CalculatorTestCase.java
@@ -37,7 +37,7 @@ public class CalculatorTestCase{
@BeforeClass
public static void setUpBeforeClass() throws Exception {
// ideally it would be: node = NodeFactory.newInstance().createNode("target/classes").start();
- node = NodeFactory.newInstance().createNode(null, new String[] {"target/classes"}).start();
+ node = NodeFactory.newInstance().createNode((String)null, new String[] {"target/classes"}).start();
calculatorService = node.getService(CalculatorService.class, "CalculatorServiceComponent");
}