ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/transport/http HTTPSender.java
Date Wed, 08 Jun 2005 17:36:59 GMT
tomj        2005/06/08 10:36:59

  Modified:    java/src/org/apache/axis/transport/http HTTPSender.java
  Log:
  Don't call isClosed() on a socket - JDK 1.4 addition.
  
  Revision  Changes    Path
  1.130     +1 -1      ws-axis/java/src/org/apache/axis/transport/http/HTTPSender.java
  
  Index: HTTPSender.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
  retrieving revision 1.129
  retrieving revision 1.130
  diff -u -r1.129 -r1.130
  --- HTTPSender.java	2 Jun 2005 12:16:39 -0000	1.129
  +++ HTTPSender.java	8 Jun 2005 17:36:59 -0000	1.130
  @@ -145,7 +145,7 @@
           } catch (Exception e) {
               log.debug(e);
               try {
  -	            if (socketHolder.getSocket() != null && !socketHolder.getSocket().isClosed())
{
  +	            if (socketHolder.getSocket() != null ) {
   	            	socketHolder.getSocket().close();
   	            }
               } catch (IOException ie) {
  
  
  

Mime
View raw message