svn commit: r1125959 - /ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOptions.java

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

svn commit: r1125959 - /ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOptions.java

mrisaliti
Author: mrisaliti
Date: Sun May 22 13:27:09 2011
New Revision: 1125959

URL: http://svn.apache.org/viewvc?rev=1125959&view=rev
Log:
Remove some unused variable into EbayStoreOptions

Modified:
    ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOptions.java

Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOptions.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOptions.java?rev=1125959&r1=1125958&r2=1125959&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOptions.java (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOptions.java Sun May 22 13:27:09 2011
@@ -281,7 +281,7 @@ public class EbayStoreOptions {
     public static String retrieveEbayStoreCategoryByParent(HttpServletRequest request, HttpServletResponse response) {
         List<StoreCustomCategoryType> results = FastList.newInstance();
         try {
-            Map paramMap = UtilHttp.getCombinedMap(request);
+            Map<String, Object> paramMap = UtilHttp.getCombinedMap(request);
             if (paramMap.get("productStoreId") != null) {
                 String ebayStoreCategory = (String)paramMap.get("ebayCategoryId");
                 // when change category should be remove old category from session
@@ -299,8 +299,6 @@ public class EbayStoreOptions {
                 }
                 request.setAttribute("productStoreId", paramMap.get("productStoreId"));
                 request.setAttribute("categoryId", ebayStoreCategory);
-                ApiContext apiContext = EbayEvents.getApiContext(request);
-                EbayStoreSiteFacade sf = EbayEvents.getSiteFacade(apiContext,request);
                 results = EbayEvents.getStoreChildCategories(request);
                 if (UtilValidate.isNotEmpty(results)) {
                     List<Map<String,Object>> categories = FastList.newInstance();