Author: mrisaliti
Date: Wed Mar 2 21:14:49 2011
New Revision: 1076379
URL:
http://svn.apache.org/viewvc?rev=1076379&view=revLog:
Remove some warning in ServiceEventHandler (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceEventHandler.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceEventHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceEventHandler.java?rev=1076379&r1=1076378&r2=1076379&view=diff==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceEventHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceEventHandler.java Wed Mar 2 21:14:49 2011
@@ -180,7 +180,7 @@ public class ServiceEventHandler impleme
if (item.isFormField() || item.getName() == null) {
if (multiPartMap.containsKey(fieldName)) {
Object mapValue = multiPartMap.get(fieldName);
- if (mapValue instanceof List) {
+ if (mapValue instanceof List<?>) {
checkList(mapValue, Object.class).add(item.getString());
} else if (mapValue instanceof String) {
List<String> newList = FastList.newInstance();