Author: lektran
Date: Sat Oct 3 04:29:12 2009
New Revision: 821243
URL:
http://svn.apache.org/viewvc?rev=821243&view=revLog:
Missed to the UtilMisc generics weirdness again
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=821243&r1=821242&r2=821243&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:29:12 2009
@@ -207,7 +207,7 @@
}
public static void addWeightedDataResourceString(GenericValue drView, int weight, List<String> strings, GenericDelegator delegator, GenericValue product) {
- Map<String, Object> drContext = UtilMisc.toMap("product", product);
+ Map<String, Object> drContext = UtilMisc.<String, Object>toMap("product", product);
try {
String contentText = DataResourceWorker.renderDataResourceAsText(delegator, drView.getString("dataResourceId"), drContext, null, null, false);
for (int i = 0; i < weight; i++) {