summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-06-23 18:05:45 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-06-23 18:05:45 +0000
commit1e8168516b58d23de93a8b71669225a48cd6a700 (patch)
treec6abd62f85be3142e92df911abfd5e4c9c5da934
parentff6e6a7002b1cc773ce8fed5cd11add77823bafb (diff)
TUSCANY-2413 - Applying patch from Dhaval
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@670693 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/samples/domain-management/src/test/java/services/ShoppingCartImpl.java2
-rw-r--r--java/sca/samples/store/src/main/java/services/ShoppingCartImpl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/samples/domain-management/src/test/java/services/ShoppingCartImpl.java b/java/sca/samples/domain-management/src/test/java/services/ShoppingCartImpl.java
index ef63dfdfa1..30abfe77a0 100644
--- a/java/sca/samples/domain-management/src/test/java/services/ShoppingCartImpl.java
+++ b/java/sca/samples/domain-management/src/test/java/services/ShoppingCartImpl.java
@@ -36,7 +36,7 @@ public class ShoppingCartImpl implements Cart {
private Map<String, Item> cart;
@Init
- protected void init() {
+ public void init() {
cart = new HashMap<String, Item>();
}
diff --git a/java/sca/samples/store/src/main/java/services/ShoppingCartImpl.java b/java/sca/samples/store/src/main/java/services/ShoppingCartImpl.java
index 2e1b4a3ac0..9889921a96 100644
--- a/java/sca/samples/store/src/main/java/services/ShoppingCartImpl.java
+++ b/java/sca/samples/store/src/main/java/services/ShoppingCartImpl.java
@@ -36,7 +36,7 @@ public class ShoppingCartImpl implements Cart, Total {
private Map<String, Item> cart;
@Init
- protected void init() {
+ public void init() {
cart = new HashMap<String, Item>();
}