Skip to content
Permalink
Browse files

Improved: Remove unused local variables

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858293 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Apr 27, 2019
1 parent 5767488 commit e034284a3a6173185214d1567c18bc242256fcbf
@@ -6956,7 +6956,6 @@ private static String validateOrderItemShipGroupAssoc(Delegator delegator, Local
Delegator delegator = dctx.getDelegator();
LocalDispatcher dispatcher = dctx.getDispatcher();
GenericValue userLogin = (GenericValue)context.get("userLogin");
Locale locale = (Locale) context.get("locale");
String orderId = (String) context.get("orderId");
try {
OrderReadHelper orderReadHelper = new OrderReadHelper(delegator, orderId);
@@ -7011,7 +7010,6 @@ private static String validateOrderItemShipGroupAssoc(Delegator delegator, Local
GenericValue userLogin = (GenericValue)context.get("userLogin");
Locale locale = (Locale) context.get("locale");
String productId = (String) context.get("productId");
String planName = (String) context.get("planName");
Integer itemListSize = (Integer) context.get("itemListSize");
Map<String, String> itemOrderIdMap = UtilGenerics.checkMap(context.get("itemOrderIdMap"));
Map<String, String> itemOrderItemSeqIdMap = UtilGenerics.checkMap(context.get("itemOrderItemSeqIdMap"));
@@ -7080,7 +7078,6 @@ private static String validateOrderItemShipGroupAssoc(Delegator delegator, Local

public static Map<String, Object> isInventoryAllocationRequired(DispatchContext dctx, Map<String, ? extends Object> context) {
Delegator delegator = dctx.getDelegator();
LocalDispatcher dispatcher = dctx.getDispatcher();
Boolean allocateInventory = false;
Map<String, Object> serviceContext = UtilGenerics.checkMap(context.get("serviceContext"));
String orderId = (String) serviceContext.get("orderId");

0 comments on commit e034284

Please sign in to comment.
You can’t perform that action at this time.