Author: doogie
Date: Mon Nov 10 19:28:11 2008
New Revision: 712927
URL:
http://svn.apache.org/viewvc?rev=712927&view=revLog:
s/new HashMap/UtilMisc.makeMapWritable/g
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java?rev=712927&r1=712926&r2=712927&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataEvents.java Mon Nov 10 19:28:11 2008
@@ -21,7 +21,6 @@
import java.io.IOException;
import java.io.OutputStream;
import java.io.InputStream;
-import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
@@ -317,7 +316,7 @@
GenericValue dataResource = delegator.makeValue("DataResource");
dataResource.setPKFields(paramMap);
dataResource.setNonPKFields(paramMap);
- Map serviceInMap = new HashMap(dataResource);
+ Map serviceInMap = UtilMisc.makeMapWritable(dataResource);
serviceInMap.put("userLogin", userLogin);
String mode = (String)paramMap.get("mode");
Locale locale = UtilHttp.getLocale(request);