svn commit: r440341 - /incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java

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

svn commit: r440341 - /incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java

jacopoc
Author: jacopoc
Date: Tue Sep  5 06:44:47 2006
New Revision: 440341

URL: http://svn.apache.org/viewvc?view=rev&rev=440341
Log:
Fixed formatting: tabs to spaces

Modified:
    incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java

Modified: incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java?view=diff&rev=440341&r1=440340&r2=440341
==============================================================================
--- incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java (original)
+++ incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java Tue Sep  5 06:44:47 2006
@@ -120,15 +120,15 @@
                 cart.setIsGift(idx, isGift);
             }
         } else {
-         return ServiceUtil.returnError(UtilProperties.getMessage(resource_error,"OrderCartShipGroupNotFound", UtilMisc.toMap("groupIndex",groupIndex), locale));
+            return ServiceUtil.returnError(UtilProperties.getMessage(resource_error,"OrderCartShipGroupNotFound", UtilMisc.toMap("groupIndex",groupIndex), locale));
         }
         return ServiceUtil.returnSuccess();
     }
 
     public static Map setPaymentOptions(DispatchContext dctx, Map context) {
-     Locale locale = (Locale) context.get("locale");
+        Locale locale = (Locale) context.get("locale");
 
-     return ServiceUtil.returnError(UtilProperties.getMessage(resource_error,"OrderServiceNotYetImplemented",locale));
+        return ServiceUtil.returnError(UtilProperties.getMessage(resource_error,"OrderServiceNotYetImplemented",locale));
     }
 
     public static Map setOtherOptions(DispatchContext dctx, Map context) {
@@ -401,7 +401,7 @@
         ShoppingCart cart = new ShoppingCart(delegator, productStoreId, locale, currency);
         // set shopping cart type
         if (quote.getString("quoteTypeId").equals("PURCHASE_QUOTE")){
-         cart.setOrderType("PURCHASE_ORDER");
+            cart.setOrderType("PURCHASE_ORDER");
         }
         try {
             cart.setUserLogin(userLogin, dispatcher);