Author: mrisaliti
Date: Sun May 22 13:29:10 2011
New Revision: 1125960
URL:
http://svn.apache.org/viewvc?rev=1125960&view=revLog:
Remove some unused variable into ProductsExportToGoogle
Modified:
ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java
Modified: ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java?rev=1125960&r1=1125959&r2=1125960&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java (original)
+++ ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java Sun May 22 13:29:10 2011
@@ -430,7 +430,7 @@ public class ProductsExportToGoogle {
String link = webSiteUrl + "/" + webSiteMountPoint + "/control/product/~product_id=" + prod.getString("productId") + trackingCodeId + utmSource + utmMedium + utmTerm + utmContent + utmCampaign;
String productName = null;
String productDescription = null;
- String productURL = null;
+ //String productURL = null;
List<GenericValue> productAndInfos = delegator.findByAnd("ProductContentAndInfo", UtilMisc.toMap("productId", prod.getString("productId"), "localeString", localeString, "thruDate", null));
if (productAndInfos.size() > 0) {
for (GenericValue productContentAndInfo : productAndInfos ) {
@@ -440,9 +440,9 @@ public class ProductsExportToGoogle {
productName = electronicText.getString("textData");
if ("LONG_DESCRIPTION".equals(productContentAndInfo.getString("productContentTypeId")))
productDescription = electronicText.getString("textData");
- if ("PRODUCT_URL".equals(productContentAndInfo.getString("productContentTypeId")))
- productURL = electronicText.getString("textData") + utmSource + utmMedium + utmTerm + utmContent + utmCampaign;
- }
+ //if ("PRODUCT_URL".equals(productContentAndInfo.getString("productContentTypeId")))
+ //productURL = electronicText.getString("textData") + utmSource + utmMedium + utmTerm + utmContent + utmCampaign;
+ }
} else {
productName = prod.getString("internalName");
productDescription = prod.getString("longDescription");