Author: mrisaliti
Date: Tue Feb 1 21:27:56 2011
New Revision: 1066226
URL:
http://svn.apache.org/viewvc?rev=1066226&view=revLog:
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;
}