svn commit: r663060 - /ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java

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

svn commit: r663060 - /ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java

mor-2
Author: mor
Date: Wed Jun  4 03:53:04 2008
New Revision: 663060

URL: http://svn.apache.org/viewvc?rev=663060&view=rev
Log:
fixed indentation, comment

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java?rev=663060&r1=663059&r2=663060&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java Wed Jun  4 03:53:04 2008
@@ -1563,11 +1563,11 @@
     private static void splitEstimatePackages(Document requestDoc, Element shipmentElement, List shippableItemInfo, double maxWeight, double minWeight) {
         List packages = getPackageSplit(shippableItemInfo, maxWeight);
         if (UtilValidate.isNotEmpty(packages)) {
-        Iterator i = packages.iterator();
-        while (i.hasNext()) {
-            Map packageMap = (Map) i.next();
-            addPackageElement(requestDoc, shipmentElement, shippableItemInfo, packageMap, minWeight);
-        }
+            Iterator i = packages.iterator();
+            while (i.hasNext()) {
+                Map packageMap = (Map) i.next();
+                addPackageElement(requestDoc, shipmentElement, shippableItemInfo, packageMap, minWeight);
+            }
         } else {
             
             // Add a dummy package
@@ -1627,7 +1627,7 @@
     }
     
     private static List getPackageSplit(List shippableItemInfo, double maxWeight) {
-        // create the package list w/ the first pacakge
+        // create the package list w/ the first package
         List packages = new LinkedList();
 
         if (shippableItemInfo != null) {