axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: svn commit: r479066 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
Date Sat, 25 Nov 2006 01:21:39 GMT
oops! wrong comment. should be "fix build break"

-- dims

On 11/24/06, dims@apache.org <dims@apache.org> wrote:
> Author: dims
> Date: Fri Nov 24 17:19:45 2006
> New Revision: 479066
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=479066
> Log:
> testing yesterdays change with aar in  AXIS2-1687. add more checks to prevent NPE
>
> Modified:
>     webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
>
> Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
> URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java?view=diff&rev=479066&r1=479065&r2=479066
> ==============================================================================
> --- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
(original)
> +++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
Fri Nov 24 17:19:45 2006
> @@ -199,7 +199,7 @@
>                  } else if (contentType.indexOf(SOAP11Constants.SOAP_11_CONTENT_TYPE)
> -1) {
>                      soapVersion = VERSION_SOAP11;
>                  }
> -                if (soapVersion == VERSION_UNKNOWN && contentType.toLowerCase().indexOf(HTTPConstants.HEADER_ACCEPT_MULTIPART_RELATED)
> -1) {
> +                if (contentType.toLowerCase().indexOf(HTTPConstants.HEADER_ACCEPT_MULTIPART_RELATED)
> -1) {
>                      // It is MIME (MTOM or SwA)
>                      builder = TransportUtils.selectBuilderForMIME(msgContext, in, contentType,true);
>                      envelope = (SOAPEnvelope) builder.getDocumentElement();
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-cvs-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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


Mime
View raw message