You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2009/10/03 06:16:23 UTC

svn commit: r821239 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/product/KeywordIndex.java

Author: lektran
Date: Sat Oct  3 04:16:21 2009
New Revision: 821239

URL: http://svn.apache.org/viewvc?rev=821239&view=rev
Log:
Fix a generics related compilation error introduced by my last commit (r821238)

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/product/KeywordIndex.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/product/KeywordIndex.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/KeywordIndex.java?rev=821239&r1=821238&r2=821239&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/product/KeywordIndex.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/product/KeywordIndex.java Sat Oct  3 04:16:21 2009
@@ -207,7 +207,7 @@
     }
 
     public static void addWeightedDataResourceString(GenericValue drView, int weight, List<String> strings, GenericDelegator delegator, GenericValue product) {
-        Map<String, GenericValue> drContext = UtilMisc.toMap("product", product);
+        Map<String, Object> drContext = UtilMisc.toMap("product", product);
         try {
             String contentText = DataResourceWorker.renderDataResourceAsText(delegator, drView.getString("dataResourceId"), drContext, null, null, false);
             for (int i = 0; i < weight; i++) {