You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2011/03/02 22:14:49 UTC

svn commit: r1076379 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceEventHandler.java

Author: mrisaliti
Date: Wed Mar  2 21:14:49 2011
New Revision: 1076379

URL: http://svn.apache.org/viewvc?rev=1076379&view=rev
Log:
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();