svn commit: r759261 - /ofbiz/trunk/specialpurpose/hhfacility/src/org/ofbiz/hhfacility/FacilityServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r759261 - /ofbiz/trunk/specialpurpose/hhfacility/src/org/ofbiz/hhfacility/FacilityServices.java

doogie-3
Author: doogie
Date: Fri Mar 27 17:02:14 2009
New Revision: 759261

URL: http://svn.apache.org/viewvc?rev=759261&view=rev
Log:
Fix lines that *only* have whitespace.

Modified:
    ofbiz/trunk/specialpurpose/hhfacility/src/org/ofbiz/hhfacility/FacilityServices.java

Modified: ofbiz/trunk/specialpurpose/hhfacility/src/org/ofbiz/hhfacility/FacilityServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/src/org/ofbiz/hhfacility/FacilityServices.java?rev=759261&r1=759260&r2=759261&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/src/org/ofbiz/hhfacility/FacilityServices.java (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/src/org/ofbiz/hhfacility/FacilityServices.java Fri Mar 27 17:02:14 2009
@@ -48,7 +48,7 @@
         String idValue = (String) context.get("idValue");
         GenericValue product = null;
         List<GenericValue> productsFound = null;
-
+
         try {
             productsFound = ProductWorker.findProductsById(delegator, idValue, null, false, true);
         } catch (GenericEntityException e) {
@@ -89,7 +89,7 @@
             GenericValue invItem = (GenericValue)invItemListIter.next();
             if ( invItem != null) {
                 int qoh = ((Double)invItem.get("quantityOnHandTotal")).intValue();
-
+
                 if ( qoh < 0 ) {
                     // Got a negative qoh so lets balance if off to zero.
                     Map contextInput = UtilMisc.toMap("userLogin", userLogin, "inventoryItemId", invItem.get("inventoryItemId"),
@@ -182,18 +182,18 @@
         } catch (GenericEntityException e) {
             return ServiceUtil.returnError("Inventory Item/Transfer lookup problem [" + e.getMessage() + "]");
         }
-
+
         if (inventoryTransfer == null || inventoryItem == null) {
             return ServiceUtil.returnError("ERROR: Lookup of InventoryTransfer and/or InventoryItem failed!");
         }
-
+
         String inventoryType = inventoryItem.getString("inventoryItemTypeId");
-
+
         // set the fields on the transfer record
         if (inventoryTransfer.get("receiveDate") == null) {
             inventoryTransfer.set("receiveDate", UtilDateTime.nowTimestamp());
         }
-
+
         if (inventoryType.equals("NON_SERIAL_INV_ITEM")) {
             // add an adjusting InventoryItemDetail so set ATP back to QOH: ATP = ATP + (QOH - ATP), diff = QOH - ATP
             double atp = inventoryItem.get("availableToPromiseTotal") == null ? 0 : inventoryItem.getDouble("availableToPromiseTotal").doubleValue();
@@ -244,7 +244,7 @@
 
         // set the inventory transfer record to complete
         inventoryTransfer.set("statusId", "IXF_COMPLETE");
-
+
         // store the entities
         try {
             inventoryTransfer.store();