ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r812633 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBAttachmentUnmarshaller.java
Date Tue, 08 Sep 2009 18:55:21 GMT
Author: scheu
Date: Tue Sep  8 18:55:20 2009
New Revision: 812633

URL: http://svn.apache.org/viewvc?rev=812633&view=rev
Log:
AXIS2-4463
Contributor:Rich Scheuerle
Remove unreachable code.

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBAttachmentUnmarshaller.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBAttachmentUnmarshaller.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBAttachmentUnmarshaller.java?rev=812633&r1=812632&r2=812633&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBAttachmentUnmarshaller.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBAttachmentUnmarshaller.java
Tue Sep  8 18:55:20 2009
@@ -50,6 +50,7 @@
     public JAXBAttachmentUnmarshaller(MessageContext msgContext, 
                                       XMLStreamReader xmlStreamReader) {
         this.msgContext = msgContext;
+        this.xmlStreamReader = xmlStreamReader;
     }
 
     public boolean isXOPPackage() {
@@ -57,12 +58,6 @@
         // Any message that is received might contain MTOM.
         // So always return true.
         boolean value = true;
-        
-        // Have the OM XMLStreamReader (OMStAXWrapper)
-        // sent xop:include events
-        if (xmlStreamReader instanceof OMXMLStreamReader) {
-            ((OMXMLStreamReader) xmlStreamReader).setInlineMTOM(true);
-        }
     
         if (log.isDebugEnabled()){ 
             log.debug("isXOPPackage returns " + value);



Mime
View raw message