diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-24 19:38:12 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-24 19:38:12 +0000 |
commit | 1dd5d7fb7e6f91b81cb3c771a5e83be5e1e65e2a (patch) | |
tree | 3d49f9301fa9c1942692205036c567808c14c17d /sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryComponentImpl.java | |
parent | 00f574ed6c10359933ec1ba19e6a56df175041fe (diff) |
Merge revision 942356 from trunk into the 1.6.1 branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988686 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryComponentImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryComponentImpl.java b/sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryComponentImpl.java index 593e55f3f5..606f6b9684 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryComponentImpl.java +++ b/sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryComponentImpl.java @@ -20,6 +20,8 @@ package supplychain.customer; import java.util.ArrayList; +import java.util.Collections; +import java.util.List; import org.osgi.service.component.ComponentContext; @@ -36,7 +38,7 @@ public class OSGiCustomerWithQueryComponentImpl implements Customer { private Retailer retailer; private RetailerQuery retailerQuery; - private static ArrayList<String> outstandingOrders = new ArrayList<String>(); + private static List<String> outstandingOrders = Collections.synchronizedList(new ArrayList<String>()); public OSGiCustomerWithQueryComponentImpl() { System.out.println("Created OSGiCustomerWithQueryComponentImpl " + this); |