From 6ca4f896cd4ca61df42f7aa68b6e6daaf3398c8f Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Thu, 28 Jan 2010 20:08:30 +0000 Subject: [PATCH] Remove wrongly added debug stmts. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904246 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/ofbiz/order/shoppingcart/ShoppingCart.java | 10 ---------- .../ofbiz/order/shoppingcart/ShoppingCartServices.java | 2 -- 2 files changed, 12 deletions(-) diff --git a/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java b/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java index 4c13f6aa94..28f1ded3de 100644 --- a/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java +++ b/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java @@ -2117,7 +2117,6 @@ public class ShoppingCart implements Serializable { } public void cleanUpShipGroups() { - Debug.logInfo(new Exception(), "==================== Call of cleanUpShipGroups!", module); for (CartShipInfo csi : this.shipInfo) { Iterator si = csi.shipItemInfo.keySet().iterator(); while (si.hasNext()) { @@ -4309,10 +4308,6 @@ public class ShoppingCart implements Serializable { public String vendorPartyId = null; public Map 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 class ShoppingCart implements Serializable { 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 class ShoppingCart implements Serializable { 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 @@ public class ShoppingCart implements Serializable { 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()); diff --git a/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java b/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java index bdc7adb904..b16ef77e1f 100644 --- a/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java +++ b/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java @@ -301,8 +301,6 @@ public class ShoppingCartServices { List orderItemShipGroupList = orh.getOrderItemShipGroups(); for (GenericValue orderItemShipGroup: orderItemShipGroupList) { - // Debug.logInfo("===================== Load order: orderItemShipGroup=" + orderItemShipGroup, module); - // should be sorted by shipGroupSeqId int newShipInfoIndex = cart.addShipInfo();