You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by th...@apache.org on 2007/07/05 10:23:01 UTC

svn commit: r553413 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/builder/MIMEBuilder.java

Author: thilina
Date: Thu Jul  5 01:23:01 2007
New Revision: 553413

URL: http://svn.apache.org/viewvc?view=rev&rev=553413
Log:
removing commented code

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/builder/MIMEBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/builder/MIMEBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/builder/MIMEBuilder.java?view=diff&rev=553413&r1=553412&r2=553413
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/builder/MIMEBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/builder/MIMEBuilder.java Thu Jul  5 01:23:01 2007
@@ -54,30 +54,10 @@
         // Setting the Attachments map to new SwA API
         msgContext.setAttachmentMap(attachments);
 
-//      if (isSOAP) {
         Builder builder =
                 BuilderUtil.getBuilderFromSelector(attachments.getAttachmentSpecType(), msgContext);
         OMElement element = builder.processDocument(attachments.getSOAPPartInputStream(),
                                                     contentType, msgContext);
-
-//      }
-//      // To handle REST XOP case
-//      else {
-//      if (attachments.getAttachmentSpecType().equals(
-//      MTOMConstants.MTOM_TYPE)) {
-//      XOPAwareStAXOMBuilder stAXOMBuilder = new XOPAwareStAXOMBuilder(
-//      streamReader, attachments);
-//      builder = stAXOMBuilder;
-//      
-//      } else if (attachments.getAttachmentSpecType().equals(
-//      MTOMConstants.SWA_TYPE)) {
-//      builder = new StAXOMBuilder(streamReader);
-//      } else if (attachments.getAttachmentSpecType().equals(
-//      MTOMConstants.SWA_TYPE_12) ) {
-//      builder = new StAXOMBuilder(streamReader);
-//      }
-//      }
-
         return element;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org