Author: mbrohl
Date: Sun Dec 10 10:50:08 2017
New Revision: 1817689

URL: http://svn.apache.org/viewvc?rev=1817689&view=rev
Log:
Improved: Fixing defects reported by FindBugs, package 
org.apache.ofbiz.shipment.verify.
(OFBIZ-9821)

Thanks Dennis Balkir for reporting and providing the patch.

Modified:
    
ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/shipment/verify/VerifyPickSession.java

Modified: 
ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/shipment/verify/VerifyPickSession.java
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/shipment/verify/VerifyPickSession.java?rev=1817689&r1=1817688&r2=1817689&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/shipment/verify/VerifyPickSession.java
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/shipment/verify/VerifyPickSession.java
 Sun Dec 10 10:50:08 2017
@@ -226,6 +226,9 @@ public class VerifyPickSession implement
                 String inventoryItemId = res.getString("inventoryItemId");
                 pickRows.add(new VerifyPickSessionRow(orderId, orderItemSeqId, 
shipGroupSeqId, productId, originGeoId, inventoryItemId, quantity));
                 break;
+            default:
+                // if a wrong checkCode is given
+                Debug.logError("There was a wrong checkCode given in the 
method createVerifyPickRow: " + checkCode, module);
         }
     }
 


Reply via email to