svn commit: r1125960 - /ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java

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

svn commit: r1125960 - /ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java

mrisaliti
Author: mrisaliti
Date: Sun May 22 13:29:10 2011
New Revision: 1125960

URL: http://svn.apache.org/viewvc?rev=1125960&view=rev
Log:
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");