svn commit: r1818399 - /ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/supplier/SupplierProductServices.java

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

svn commit: r1818399 - /ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/supplier/SupplierProductServices.java

mbrohl
Author: mbrohl
Date: Sat Dec 16 13:39:19 2017
New Revision: 1818399

URL: http://svn.apache.org/viewvc?rev=1818399&view=rev
Log:
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;
     }