Author: mrisaliti
Date: Wed Mar 2 21:16:52 2011
New Revision: 1076381
URL:
http://svn.apache.org/viewvc?rev=1076381&view=revLog:
Remove some warning in SOAPEventHandler (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/SOAPEventHandler.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/SOAPEventHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/SOAPEventHandler.java?rev=1076381&r1=1076380&r2=1076381&view=diff==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/SOAPEventHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/SOAPEventHandler.java Wed Mar 2 21:16:52 2011
@@ -170,7 +170,7 @@ public class SOAPEventHandler implements
try {
// each is a different service call
SOAPBody reqBody = reqEnv.getBody();
- Iterator serviceIter = reqBody.getChildElements();
+ Iterator<Object> serviceIter = UtilGenerics.cast(reqBody.getChildElements());
while (serviceIter.hasNext()) {
Object serviceObj = serviceIter.next();
if (serviceObj instanceof OMElement) {