Author: mbrohl
Date: Sat Dec 16 13:39:19 2017
New Revision: 1818399
URL:
http://svn.apache.org/viewvc?rev=1818399&view=revLog:
Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.supplier.
(OFBIZ-10075)
Thanks Julian Leichert for reporting and providing the patch.
Modified:
ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/supplier/SupplierProductServices.java
Modified: ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/supplier/SupplierProductServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/supplier/SupplierProductServices.java?rev=1818399&r1=1818398&r2=1818399&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/supplier/SupplierProductServices.java (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/supplier/SupplierProductServices.java Sat Dec 16 13:39:19 2017
@@ -21,7 +21,6 @@ package org.apache.ofbiz.product.supplie
import java.math.BigDecimal;
import java.util.Collection;
-import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -114,9 +113,6 @@ public class SupplierProductServices {
} catch (GenericEntityException ex) {
Debug.logError(ex, ex.getMessage(), module);
return ServiceUtil.returnError(ex.getMessage());
- } catch (Exception ex) {
- Debug.logError(ex, ex.getMessage(), module);
- return ServiceUtil.returnError(ex.getMessage());
}
return results;
}