Author: doogie
Date: Fri Apr 2 21:57:31 2010
New Revision: 930406
URL: http://svn.apache.org/viewvc?rev=930406&view=rev
Log:
Switch the attributes instance variable to FastMap.
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java?rev=930406&r1=930405&r2=930406&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
(original)
+++
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Fri Apr 2 21:57:31 2010
@@ -114,7 +114,7 @@ public class ShoppingCart implements Ite
private List<CartShipInfo> shipInfo = FastList.<CartShipInfo>
newInstance();
private Map contactMechIdsMap = new HashMap();
private Map<String, String> orderAttributes = FastMap.newInstance();
- private Map<String, Object> attributes = new HashMap<String, Object>(); //
user defined attributes
+ private Map<String, Object> attributes = FastMap.newInstance(); // user
defined attributes
// Lists of internal/public notes: when the order is stored they are
transformed into OrderHeaderNotes
private List internalOrderNotes = FastList.newInstance(); // internal notes
private List orderNotes = FastList.newInstance(); // public notes (printed
on documents etc.)