Skip to content

Commit

Permalink
optional service parameter is still parsed in the service iteself
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1534062 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
hansbak committed Oct 21, 2013
1 parent b888457 commit 4c7c7a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public static Map<String, Object> rateProductTaxCalc(DispatchContext dctx, Map<S
BigDecimal itemAmount = itemAmountList.get(i);
BigDecimal itemPrice = itemPriceList.get(i);
BigDecimal itemQuantity = itemQuantityList != null ? itemQuantityList.get(i) : null;
BigDecimal shippingAmount = itemShippingList.get(i);
BigDecimal shippingAmount = itemShippingList != null ? itemShippingList.get(i) : null;
List<GenericValue> taxList = null;
if (shippingAddress != null) {
taxList = getTaxAdjustments(delegator, product, productStore, payToPartyId, billToPartyId, taxAuthoritySet, itemPrice, itemQuantity, itemAmount, shippingAmount, ZERO_BASE);
Expand Down

0 comments on commit 4c7c7a4

Please sign in to comment.