axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/transport/http CommonsHTTPSender.java HTTPSender.java
Date Wed, 15 Jun 2005 01:59:24 GMT
dims        2005/06/14 18:59:24

  Modified:    java/src/org/apache/axis/transport/http
                        CommonsHTTPSender.java HTTPSender.java
  Log:
  tiny fixlet.
  
  Revision  Changes    Path
  1.38      +1 -1      ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
  
  Index: CommonsHTTPSender.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- CommonsHTTPSender.java	15 Jun 2005 01:39:08 -0000	1.37
  +++ CommonsHTTPSender.java	15 Jun 2005 01:59:24 -0000	1.38
  @@ -297,7 +297,7 @@
           
           cookie = cleanupCookie(cookie);
           int keyIndex = cookie.indexOf("=");
  -        String key = (keyIndex != -1) ? cookie.substring(0, keyIndex) : null;
  +        String key = (keyIndex != -1) ? cookie.substring(0, keyIndex) : cookie;
           
           ArrayList cookies = new ArrayList();
           Object oldCookies = msgContext.getProperty(cookieName);
  
  
  
  1.134     +1 -2      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.133
  retrieving revision 1.134
  diff -u -r1.133 -r1.134
  --- HTTPSender.java	15 Jun 2005 01:39:08 -0000	1.133
  +++ HTTPSender.java	15 Jun 2005 01:59:24 -0000	1.134
  @@ -813,14 +813,13 @@
   
           cookie = cleanupCookie(cookie);
           int keyIndex = cookie.indexOf("=");
  -        String key = (keyIndex != -1) ? cookie.substring(0, keyIndex) : null;
  +        String key = (keyIndex != -1) ? cookie.substring(0, keyIndex) : cookie;
           
           ArrayList cookies = new ArrayList();
           Object oldCookies = msgContext.getProperty(cookieName);
           boolean alreadyExist = false;
           if(oldCookies != null) {
               if(oldCookies instanceof String[]) {
  -                
                   String[] oldCookiesArray = (String[])oldCookies;
                   for(int i = 0; i < oldCookiesArray.length; i++) {
                       String anOldCookie = oldCookiesArray[i];
  
  
  

Mime
View raw message