summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/calculator-rmi-reference/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/samples/calculator-rmi-reference/src')
-rw-r--r--java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java b/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
index f14191c411..b7aa70f122 100644
--- a/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
+++ b/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
@@ -46,7 +46,7 @@ public class CalculatorRMIReferenceTestCase {
Registry rmiRegistry = LocateRegistry.createRegistry(8099);
rmiRegistry.bind("CalculatorRMIService", rmiCalculatorImpl);
- String uri = ContributionLocationHelper.getContributionLocation("CalculatorRMIReference.composite");
+ String uri = ContributionLocationHelper.getContributionLocation(CalculatorService.class);
Contribution contribution = new Contribution("c1", uri);
node = NodeFactory.newInstance().createNode("CalculatorRMIReference.composite", contribution);
node.start();