svn commit: r680168 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/order/RequestReturn.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r680168 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/order/RequestReturn.groovy

jleroux@apache.org
Author: jleroux
Date: Sun Jul 27 12:26:43 2008
New Revision: 680168

URL: http://svn.apache.org/viewvc?rev=680168&view=rev
Log:
Fix a typo (from bsh->groovy)

Modified:
    ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/order/RequestReturn.groovy

Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/order/RequestReturn.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/order/RequestReturn.groovy?rev=680168&r1=680167&r2=680168&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/order/RequestReturn.groovy (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/order/RequestReturn.groovy Sun Jul 27 12:26:43 2008
@@ -42,9 +42,7 @@
 
 returnItemTypeMap = delegator.findByAnd("ReturnItemTypeMap", [returnHeaderTypeId : "CUSTOMER_RETURN"]);
 typeMap = new HashMap();
-returnItemTypeMap.each { value ->
-    typeMap[value.returnItemMapKey = value.returnItemTypeId;
-}
+returnItemTypeMap.each { value -> typeMap[value.returnItemMapKey] = value.returnItemTypeId }
 context.returnItemTypeMap = typeMap;
 
 //put in the return to party information from the order header