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 di...@apache.org on 2007/07/30 16:10:26 UTC

svn commit: r560991 - /webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java

Author: dims
Date: Mon Jul 30 07:10:26 2007
New Revision: 560991

URL: http://svn.apache.org/viewvc?view=rev&rev=560991
Log:
Fix build break on JDK14. Deepal, please check the logic :)

Modified:
    webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java

Modified: webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java?view=diff&rev=560991&r1=560990&r2=560991
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java (original)
+++ webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java Mon Jul 30 07:10:26 2007
@@ -122,7 +122,7 @@
             log.debug("contentType from the OMOutputFormat =" + contentType);
         }
          if (encoding != null && contentType != null &&
-        		!contentType.contains(HTTPConstants.MEDIA_TYPE_MULTIPART_RELATED)) {
+        		contentType.indexOf(HTTPConstants.MEDIA_TYPE_MULTIPART_RELATED)==-1) {
              contentType += "; charset=" + encoding;
          }
 



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