cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1228268 [3/3] - in /cxf/trunk: rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/ rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/ rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/ rt/databinding...
Date Fri, 06 Jan 2012 16:57:54 GMT
Modified: cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestSOAPHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestSOAPHandler.java?rev=1228268&r1=1228267&r2=1228268&view=diff
==============================================================================
--- cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestSOAPHandler.java
(original)
+++ cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestSOAPHandler.java
Fri Jan  6 16:57:50 2012
@@ -19,7 +19,6 @@
 package org.apache.cxf.systest.handlers;
 
 
-import java.util.Map;
 import java.util.Set;
 import java.util.StringTokenizer;
 
@@ -58,8 +57,8 @@ import org.apache.cxf.Bus;
  * @author <a href="mailto:codea@iona.com">codea</a>
  * @version 1.0
  */
-public class  TestSOAPHandler<T extends SOAPMessageContext> extends TestHandlerBase

-    implements SOAPHandler<T> {
+public class  TestSOAPHandler extends TestHandlerBase 
+    implements SOAPHandler<SOAPMessageContext> {
 
     
     
@@ -178,11 +177,6 @@ public class  TestSOAPHandler<T extends 
         return true;
     }
 
-    public final void init(final Map map) {
-        methodCalled("init"); 
-
-    }
-
     public final void destroy() {
         methodCalled("destroy"); 
     }

Modified: cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestUnusedHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestUnusedHandler.java?rev=1228268&r1=1228267&r2=1228268&view=diff
==============================================================================
--- cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestUnusedHandler.java
(original)
+++ cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/TestUnusedHandler.java
Fri Jan  6 16:57:50 2012
@@ -18,8 +18,6 @@
  */
 package org.apache.cxf.systest.handlers;
 
-import java.util.Map;
-
 import javax.xml.ws.handler.LogicalHandler;
 import javax.xml.ws.handler.LogicalMessageContext;
 import javax.xml.ws.handler.MessageContext;
@@ -52,10 +50,6 @@ public class TestUnusedHandler<T extends
         methodCalled("close");
     }
 
-    public void init(Map arg0) {
-        methodCalled("init");
-    }
-
     public void destroy() {
         methodCalled("destroy");
     }

Modified: cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/AttachmentStreamSourceXMLProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/AttachmentStreamSourceXMLProvider.java?rev=1228268&r1=1228267&r2=1228268&view=diff
==============================================================================
--- cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/AttachmentStreamSourceXMLProvider.java
(original)
+++ cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/AttachmentStreamSourceXMLProvider.java
Fri Jan  6 16:57:50 2012
@@ -78,7 +78,7 @@ public class AttachmentStreamSourceXMLPr
             }
             
             Map<String, DataHandler> dataHandlers = CastUtils.cast(
-                (Map)mc.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS));
+                (Map<?, ?>)mc.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS));
             StringBuilder buf = new StringBuilder();
             buf.append("<response>");
             int i = 0;
@@ -114,7 +114,7 @@ public class AttachmentStreamSourceXMLPr
             respHeaders.put(Message.CONTENT_TYPE, contentTypeValues);
 
             Map<String, DataHandler> outDataHandlers 
-                = CastUtils.cast((Map)mc.get(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS));
+                = CastUtils.cast((Map<?, ?>)mc.get(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS));
             byte[] data = new byte[50];
             for (int x = 0; x < data.length; x++) {
                 data[x] = (byte)(x + (int)'0');

Modified: cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/TestSOAPHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/TestSOAPHandler.java?rev=1228268&r1=1228267&r2=1228268&view=diff
==============================================================================
--- cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/TestSOAPHandler.java
(original)
+++ cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/TestSOAPHandler.java
Fri Jan  6 16:57:50 2012
@@ -44,13 +44,13 @@ public class TestSOAPHandler implements 
 
             SOAPEnvelope env = msg.getSOAPPart().getEnvelope();
             SOAPBody body = env.getBody();
-            Iterator it = body.getChildElements();
+            Iterator<?> it = body.getChildElements();
             while (it.hasNext()) {
                 
                 Object elem = it.next();
                 if (elem instanceof SOAPElement) {
 
-                    Iterator it2 = ((SOAPElement)elem).getChildElements();
+                    Iterator<?> it2 = ((SOAPElement)elem).getChildElements();
                     while (it2.hasNext()) {
                         Object elem2 = it2.next();
                         if (elem2 instanceof SOAPElement) {

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/FailoverTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/FailoverTest.java?rev=1228268&r1=1228267&r2=1228268&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/FailoverTest.java
(original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/FailoverTest.java
Fri Jan  6 16:57:50 2012
@@ -456,10 +456,10 @@ public class FailoverTest extends Abstra
         try {
             Definition def = bus.getExtension(WSDLManager.class)
                 .getDefinition(wsdlLocation);
-            Map map = def.getAllServices();
+            Map<?, ?> map = def.getAllServices();
             for (Object o : map.values()) {
                 Service service = (Service)o;
-                Map ports = service.getPorts();
+                Map<?, ?> ports = service.getPorts();
                 for (Object p : ports.values()) {
                     Port port = (Port)p;
                     List<?> l = port.getExtensibilityElements();



Mime
View raw message