svn commit: r1066226 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

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

svn commit: r1066226 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

mrisaliti
Author: mrisaliti
Date: Tue Feb  1 21:27:56 2011
New Revision: 1066226

URL: http://svn.apache.org/viewvc?rev=1066226&view=rev
Log:
Replace some tabs to 4 spaces

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=1066226&r1=1066225&r2=1066226&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 Feb  1 21:27:56 2011
@@ -2741,13 +2741,13 @@ public class ShoppingCart implements Ite
     }
 
     public int getAdjustmentPromoIndex(String productPromoId) {
-     int index = adjustments.size();
-     while (index > 0) {
-     if (adjustments.get(index).getString("productPromoId").equals(productPromoId)) {
-     return(index);
-     }
-     index++;
-     }
+        int index = adjustments.size();
+        while (index > 0) {
+            if (adjustments.get(index).getString("productPromoId").equals(productPromoId)) {
+                return(index);
+            }
+            index++;
+        }
         return -1;
     }