diff options
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryImpl.java')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryImpl.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/OSGiCustomerWithQueryImpl.java b/sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryImpl.java index 18483817ad..ef9dc8c16a 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryImpl.java +++ b/sca-java-1.x/branches/sca-java-1.6.1/itest/osgi-implementation/src/main/java/supplychain/customer/OSGiCustomerWithQueryImpl.java @@ -20,6 +20,8 @@ package supplychain.customer; import java.util.ArrayList; +import java.util.Collections; +import java.util.List; import supplychain.OSGiBundleImpl; import supplychain.retailer.Retailer; @@ -30,7 +32,7 @@ import supplychain.retailer.RetailerQuery; */ public class OSGiCustomerWithQueryImpl extends OSGiBundleImpl implements Customer { - private static ArrayList<String> outstandingOrders = new ArrayList<String>(); + private static List<String> outstandingOrders = Collections.synchronizedList(new ArrayList<String>()); private Retailer retailer; private RetailerQuery retailerQuery; |