cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1133333 - /cxf/trunk/rt/bindings/coloc/src/main/java/org/apache/cxf/binding/coloc/ColocUtil.java
Date Wed, 08 Jun 2011 10:41:24 GMT
Author: ay
Date: Wed Jun  8 10:41:24 2011
New Revision: 1133333

URL: http://svn.apache.org/viewvc?rev=1133333&view=rev
Log:
[CXF-3577] add dispatch ... (remove ref to SOAPMessage)

Modified:
    cxf/trunk/rt/bindings/coloc/src/main/java/org/apache/cxf/binding/coloc/ColocUtil.java

Modified: cxf/trunk/rt/bindings/coloc/src/main/java/org/apache/cxf/binding/coloc/ColocUtil.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/coloc/src/main/java/org/apache/cxf/binding/coloc/ColocUtil.java?rev=1133333&r1=1133332&r2=1133333&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/coloc/src/main/java/org/apache/cxf/binding/coloc/ColocUtil.java
(original)
+++ cxf/trunk/rt/bindings/coloc/src/main/java/org/apache/cxf/binding/coloc/ColocUtil.java
Wed Jun  8 10:41:24 2011
@@ -28,7 +28,6 @@ import java.util.SortedSet;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 
-import javax.xml.soap.SOAPMessage;
 import javax.xml.stream.XMLStreamReader;
 import javax.xml.transform.Source;
 import javax.xml.transform.stream.StreamSource;
@@ -181,9 +180,7 @@ public final class ColocUtil {
     public static boolean isCompatibleOperationInfo(OperationInfo oi1, OperationInfo oi2)
{
         return isSameOperationInfo(oi1, oi2)
                || isAssignableOperationInfo(oi1, Source.class) 
-               || isAssignableOperationInfo(oi2, Source.class)
-               || isAssignableOperationInfo(oi1, SOAPMessage.class) 
-               || isAssignableOperationInfo(oi2, SOAPMessage.class);
+               || isAssignableOperationInfo(oi2, Source.class);
     }
     
     public static boolean isAssignableOperationInfo(OperationInfo oi, Class<?> cls)
{



Mime
View raw message