cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp XSPCookieHelper.java
Date Mon, 26 Nov 2001 15:52:18 GMT
cziegeler    01/11/26 07:52:18

  Modified:    src/org/apache/cocoon/components/language/markup/xsp Tag:
                        cocoon_20_branch XSPCookieHelper.java
  Log:
  Fix bug #4323
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.9   +3 -2      xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/XSPCookieHelper.java
  
  Index: XSPCookieHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/XSPCookieHelper.java,v
  retrieving revision 1.2.2.8
  retrieving revision 1.2.2.9
  diff -u -r1.2.2.8 -r1.2.2.9
  --- XSPCookieHelper.java	2001/10/11 08:56:06	1.2.2.8
  +++ XSPCookieHelper.java	2001/11/26 15:52:18	1.2.2.9
  @@ -649,12 +649,13 @@
           {
               if (retrieveByName)
               {
  -                for(count=0; count<cookies.length; count++)
  -                {
  +                count = 0;
  +                while (count < cookies.length && matchFound == false) {
                       currentCookie = cookies[count];
   
                       if (currentCookie.getName().equals(cookieName))
                           matchFound = true;
  +                    count++;
                   }
               }
               else if (retrieveByIndex)
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message