|
Author: doogie
Date: Thu Jan 28 20:08:30 2010 New Revision: 904246 URL: http://svn.apache.org/viewvc?rev=904246&view=rev Log: Remove wrongly added debug stmts. Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.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=904246&r1=904245&r2=904246&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 Thu Jan 28 20:08:30 2010 @@ -2117,7 +2117,6 @@ } public void cleanUpShipGroups() { - Debug.logInfo(new Exception(), "==================== Call of cleanUpShipGroups!", module); for (CartShipInfo csi : this.shipInfo) { Iterator<ShoppingCartItem> si = csi.shipItemInfo.keySet().iterator(); while (si.hasNext()) { @@ -4309,10 +4308,6 @@ public String vendorPartyId = null; public Map<String, Object> attributes = FastMap.newInstance(); - public CartShipInfo() { - // Debug.logInfo(new Exception(), "Created a new CartShipInfo", module); - } - public void setAttribute(String name, Object value) { this.attributes.put(name, value); } @@ -4330,7 +4325,6 @@ public String getContactMechId() { return internalContactMechId; } public void setContactMechId(String contactMechId) { this.internalContactMechId = contactMechId; - // Debug.logInfo(new Exception(), "Set CartShipInfo.contactMechId=" + this.internalContactMechId, module); } public String getCarrierPartyId() { return carrierPartyId; } @@ -4341,13 +4335,11 @@ public String getShipGroupSeqId() { return shipGroupSeqId; } public void setShipGroupSeqId(String shipGroupSeqId) { this.shipGroupSeqId = shipGroupSeqId; - // Debug.logInfo(new Exception(), "============= On CartShipInfo shipGroupSeqId to " + this.shipGroupSeqId, module); } public String getFacilityId() { return facilityId; } public void setFacilityId(String facilityId) { this.facilityId = facilityId; - // Debug.logInfo(new Exception(), "============= On CartShipInfo setFacilityId to " + this.facilityId, module); } public String getVendorPartyId() { return vendorPartyId;} @@ -4389,8 +4381,6 @@ shipGroup.set("vendorPartyId", vendorPartyId); shipGroup.set("facilityId", facilityId); - // Debug.logInfo("=================Creating ship group value: " + shipGroup, module); - // use the cart's default ship before and after dates here if ((shipBeforeDate == null) && (cart.getDefaultShipBeforeDate() != null)) { shipGroup.set("shipByDate", cart.getDefaultShipBeforeDate()); Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java?rev=904246&r1=904245&r2=904246&view=diff ============================================================================== --- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java (original) +++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java Thu Jan 28 20:08:30 2010 @@ -301,8 +301,6 @@ List<GenericValue> orderItemShipGroupList = orh.getOrderItemShipGroups(); for (GenericValue orderItemShipGroup: orderItemShipGroupList) { - // Debug.logInfo("===================== Load order: orderItemShipGroup=" + orderItemShipGroup, module); - // should be sorted by shipGroupSeqId int newShipInfoIndex = cart.addShipInfo(); |
| Free forum by Nabble | Edit this page |
