axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http HTTPSender.java
Date Mon, 18 Mar 2002 22:54:17 GMT
dug         02/03/18 14:54:17

  Modified:    java/src/org/apache/axis/transport/http HTTPSender.java
  Log:
  Check for NPE
  
  Revision  Changes    Path
  1.52      +1 -1      xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java
  
  Index: HTTPSender.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- HTTPSender.java	9 Mar 2002 13:35:52 -0000	1.51
  +++ HTTPSender.java	18 Mar 2002 22:54:17 -0000	1.52
  @@ -461,7 +461,7 @@
   
               if (returnCode > 199 && returnCode < 300) {
                   // SOAP return is OK - so fall through
  -            } else if (!contentType.equals("text/html") &&
  +            } else if (contentType!=null && !contentType.equals("text/html") &&
                          (returnCode > 499 && returnCode < 600) ) {
                   // SOAP Fault should be in here - so fall through
               } else {
  
  
  

Mime
View raw message