Author: mridulpathak
Date: Sat Oct 15 12:51:31 2016 New Revision: 1765052 URL: http://svn.apache.org/viewvc?rev=1765052&view=rev Log: Improved: Removed unused imports from groovy files in ebaystore component. (OFBIZ-8485) Thanks: Ankit Joshi for contribution. Modified: ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetDisputeInfo.groovy ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetEbayJobsandbox.groovy ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/feedback/FeedbackList.groovy ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/OrderListPrepare.groovy ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/PrepareProductListing.groovy Modified: ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetDisputeInfo.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetDisputeInfo.groovy?rev=1765052&r1=1765051&r2=1765052&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetDisputeInfo.groovy (original) +++ ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetDisputeInfo.groovy Sat Oct 15 12:51:31 2016 @@ -17,8 +17,6 @@ * under the License. */ -import org.apache.ofbiz.base.util.*; - import com.ebay.soap.eBLBaseComponents.DisputeReasonCodeType; import com.ebay.soap.eBLBaseComponents.DisputeExplanationCodeType; Modified: ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetEbayJobsandbox.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetEbayJobsandbox.groovy?rev=1765052&r1=1765051&r2=1765052&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetEbayJobsandbox.groovy (original) +++ ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/automationPreferences/GetEbayJobsandbox.groovy Sat Oct 15 12:51:31 2016 @@ -17,8 +17,6 @@ * under the License. */ -import org.apache.ofbiz.base.util.*; - jobSandboxs = from("JobSandbox").where("authUserLoginId", userLoginId).queryList(); job = null jobId = null; Modified: ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/feedback/FeedbackList.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/feedback/FeedbackList.groovy?rev=1765052&r1=1765051&r2=1765052&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/feedback/FeedbackList.groovy (original) +++ ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/feedback/FeedbackList.groovy Sat Oct 15 12:51:31 2016 @@ -17,10 +17,10 @@ * under the License. */ -import org.apache.ofbiz.base.util.*; -import org.apache.ofbiz.entity.condition.*; +import org.apache.ofbiz.base.util.UtilDateTime; +import org.apache.ofbiz.entity.condition.EntityCondition; +import org.apache.ofbiz.entity.condition.EntityOperator; import java.sql.Timestamp; -import java.util.Map; partyId = null resultUser = runService('getEbayStoreUser', ["productStoreId": parameters.productStoreId, "userLogin": context.get("userLogin")]); Modified: ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/OrderListPrepare.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/OrderListPrepare.groovy?rev=1765052&r1=1765051&r2=1765052&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/OrderListPrepare.groovy (original) +++ ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/OrderListPrepare.groovy Sat Oct 15 12:51:31 2016 @@ -19,8 +19,6 @@ import org.apache.ofbiz.entity.util.EntityUtil; -import org.apache.ofbiz.entity.util.EntityUtil; - orderLists = []; if (orderList) { for (orderCount = 0; orderCount < orderList.size(); orderCount++) { Modified: ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/PrepareProductListing.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/PrepareProductListing.groovy?rev=1765052&r1=1765051&r2=1765052&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/PrepareProductListing.groovy (original) +++ ofbiz/trunk/specialpurpose/ebaystore/groovyScripts/store/PrepareProductListing.groovy Sat Oct 15 12:51:31 2016 @@ -17,32 +17,15 @@ * under the License. */ - import java.lang.*; - import java.util.*; - import org.apache.ofbiz.base.util.*; - import org.apache.ofbiz.entity.*; - import org.apache.ofbiz.service.*; - import org.apache.ofbiz.product.catalog.*; - import org.apache.ofbiz.product.category.*; - import org.apache.ofbiz.product.product.ProductWorker; import org.apache.ofbiz.product.product.ProductContentWrapper; - import org.apache.ofbiz.product.catalog.*; + import org.apache.ofbiz.product.catalog.CatalogWorker; import org.apache.ofbiz.ebaystore.EbayStoreHelper; import com.ebay.sdk.ApiContext; import com.ebay.sdk.call.AddItemCall; - import com.ebay.soap.eBLBaseComponents.ItemType; - import com.ebay.soap.eBLBaseComponents.CategoryType; - import com.ebay.soap.eBLBaseComponents.ListingTypeCodeType; import com.ebay.soap.eBLBaseComponents.BuyerPaymentMethodCodeType; import com.ebay.soap.eBLBaseComponents.ItemSpecificsEnabledCodeType; - import com.ebay.soap.eBLBaseComponents.GeteBayDetailsResponseType; - import com.ebay.soap.eBLBaseComponents.ReturnPolicyType; import com.ebay.soap.eBLBaseComponents.SiteCodeType; - import com.ebay.soap.eBLBaseComponents.ShippingServiceDetailsType; - import com.ebay.soap.eBLBaseComponents.ShippingLocationDetailsType; import org.apache.ofbiz.ebaystore.EbayEvents; - import com.ebay.sdk.ApiException; - import com.ebay.sdk.SdkException; //set the content path prefix contentPathPrefix = CatalogWorker.getContentPathPrefix(request); |
Free forum by Nabble | Edit this page |