Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.supplier.
Thanks Julian Leichert for reporting and providing the patch.
@@ -21,7 +21,6 @@ package org.apache.ofbiz.product.supplier;
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;
}
