jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlu...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/tools/org/apache/watchdog/task GTest.java
Date Tue, 12 Feb 2002 14:10:09 GMT
rlubke      02/02/12 06:10:09

  Modified:    src/tools/org/apache/watchdog/task GTest.java
  Log:
   - Added an overlooked check in location header check.
     (doesn't pay to get out of bed some days)
  
  Revision  Changes    Path
  1.6       +10 -5     jakarta-watchdog-4.0/src/tools/org/apache/watchdog/task/GTest.java
  
  Index: GTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/tools/org/apache/watchdog/task/GTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- GTest.java	12 Feb 2002 13:58:09 -0000	1.5
  +++ GTest.java	12 Feb 2002 14:10:09 -0000	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog-4.0/src/tools/org/apache/watchdog/task/GTest.java,v
1.5 2002/02/12 13:58:09 rlubke Exp $ 
  - * $Revision: 1.5 $
  - * $Date: 2002/02/12 13:58:09 $
  + * $Header: /home/cvs/jakarta-watchdog-4.0/src/tools/org/apache/watchdog/task/GTest.java,v
1.6 2002/02/12 14:10:09 rlubke Exp $ 
  + * $Revision: 1.6 $
  + * $Date: 2002/02/12 14:10:09 $
    *
    * ====================================================================
    * The Apache Software License, Version 1.1
  @@ -712,8 +712,13 @@
                                           System.out.println( tempValue );
                                           if ( currentHeaderValue.equals( resVal ) || 
                                                tempValue.equals( resVal ) ) {
  -                                           numberFound++;
  -                                           headerValues.remove( 0 );
  +                                            numberFound++;
  +                                            headerValues.remove( 0 );
  +                                        }
  +                                    } else {
  +                                        if ( currentHeaderValue.equals( resVal ) ) {
  +                                            numberFound++;
  +                                            headerValues.remove( 0 );
                                           }
                                       }
                                   } else if ( headerValues.contains( currentHeaderValue )
) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message