Implemented : Deprecate shoppingCart.makeItemShipGroupAndAssoc with newShipGroup boolean parameter
Deprecates ShoppingCart.makeItemShipGroupAndAssoc with newShipGroup boolean parameter, since this parameters is not used.
Impact method usage
@@ -4023,7 +4023,7 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
if (shipGroupSeqId != null) {
groups.addAll(csi.makeItemShipGroupAndAssoc(dispatcher, this.getDelegator(), this, shipGroupSeqId));
} else {
- groups.addAll(csi.makeItemShipGroupAndAssoc(dispatcher, this.getDelegator(), this, UtilFormatOut.formatPaddedNumber(seqId, 5), true));
+ groups.addAll(csi.makeItemShipGroupAndAssoc(dispatcher, this.getDelegator(), this, UtilFormatOut.formatPaddedNumber(seqId, 5)));
}
seqId++;
}
@@ -4747,11 +4747,12 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
}
}
- public List<GenericValue> makeItemShipGroupAndAssoc(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId) {
- return makeItemShipGroupAndAssoc(dispatcher, delegator, cart, shipGroupSeqId, false);
+ @Deprecated
+ public List<GenericValue> makeItemShipGroupAndAssoc(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId, boolean newShipGroup) {
+ return makeItemShipGroupAndAssoc(dispatcher, delegator, cart, shipGroupSeqId);
}
- public List<GenericValue> makeItemShipGroupAndAssoc(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId, boolean newShipGroup) {
+ public List<GenericValue> makeItemShipGroupAndAssoc(LocalDispatcher dispatcher, Delegator delegator, ShoppingCart cart, String shipGroupSeqId) {
List<GenericValue> values = new LinkedList<>();
// create order contact mech for shipping address
