Author: jleroux
Date: Fri Mar 31 21:02:59 2017
New Revision: 1789750
URL:
http://svn.apache.org/viewvc?rev=1789750&view=revLog:
No functional change, just a TODO in preparation of OFBIZ-9293 "Review and
possibly refactor code (not only Java, but mostly) in the ebaystore component"
Also to test WIP for OFBIZ-9275 "Add a Gradle task to svn update all plugins"
Modified:
ofbiz/ofbiz-plugins/trunk/ebaystore/src/main/java/org/apache/ofbiz/ebaystore/EbayStore.java
Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/src/main/java/org/apache/ofbiz/ebaystore/EbayStore.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/src/main/java/org/apache/ofbiz/ebaystore/EbayStore.java?rev=1789750&r1=1789749&r2=1789750&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ebaystore/src/main/java/org/apache/ofbiz/ebaystore/EbayStore.java (original)
+++ ofbiz/ofbiz-plugins/trunk/ebaystore/src/main/java/org/apache/ofbiz/ebaystore/EbayStore.java Fri Mar 31 21:02:59 2017
@@ -370,7 +370,6 @@ public class EbayStore {
public static StoreCustomCategoryType[] toStoreCustomCategoryTypeArray(List<StoreCustomCategoryType> list) {
StoreCustomCategoryType[] storeCustomCategoryTypeArry = null;
- try {
if (list != null && list.size() > 0) {
storeCustomCategoryTypeArry = new StoreCustomCategoryType[list.size()];
int i=0;
@@ -380,6 +379,7 @@ public class EbayStore {
}
} catch (Exception e) {
Debug.logError(e.getMessage(), module);
+ // TODO why is there an Exception catching here?
}
return storeCustomCategoryTypeArry;
}