Author: jleroux
Date: Tue Dec 16 07:58:41 2008
New Revision: 727073

URL: http://svn.apache.org/viewvc?rev=727073&view=rev
Log:
An hardly reformatted patch from Stephen Rufle "ShoppingCart expose 
orderAttributes Map"  '(https://issues.apache.org/jira/browse/OFBIZ-2080) - 
OFBIZ-2080

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=727073&r1=727072&r2=727073&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
 Tue Dec 16 07:58:41 2008
@@ -4717,4 +4717,14 @@
         // DEJ20050518 we should not call clear because it kills the auto-save 
shopping list and is unnecessary given that when this object is GC'ed it will 
cause everything it points to that isn't referenced anywhere else to be GC'ed 
too: this.clear();
         super.finalize();
     }
+
+    public Map getOrderAttributes()
+    {
+        return orderAttributes;
+    }
+
+    public void setOrderAttributes(Map orderAttributes)
+    {
+        this.orderAttributes = orderAttributes;
+    }
 }


Reply via email to