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

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

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

lektran
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++) {