Skip to content

Commit

Permalink
Improved: Remove unused local variables
Browse files Browse the repository at this point in the history
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 e034284
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6956,7 +6956,6 @@ public static Map<String, Object> updateAllocatedQuantityOnOrderItemChange(Dispa
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);
Expand Down Expand Up @@ -7011,7 +7010,6 @@ public static Map<String, Object> createAllocationPlanAndItems(DispatchContext d
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"));
Expand Down Expand Up @@ -7080,7 +7078,6 @@ public static Map<String, Object> createAllocationPlanAndItems(DispatchContext d

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");
Expand Down

0 comments on commit e034284

Please sign in to comment.