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/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequestWrapper ServletRequestWrapperGetRemoteHostTestServlet.java
Date Mon, 11 Feb 2002 18:31:08 GMT
rlubke      02/02/11 10:31:08

  Modified:    src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequestWrapper
                        ServletRequestWrapperGetRemoteHostTestServlet.java
  Log:
   - Changed result check to an indexed check rather than an exact
     value as teh returned value depends on the platform.
  
  Revision  Changes    Path
  1.3       +4 -4      jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequestWrapper/ServletRequestWrapperGetRemoteHostTestServlet.java
  
  Index: ServletRequestWrapperGetRemoteHostTestServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequestWrapper/ServletRequestWrapperGetRemoteHostTestServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServletRequestWrapperGetRemoteHostTestServlet.java	10 Feb 2002 16:40:07 -0000	1.2
  +++ ServletRequestWrapperGetRemoteHostTestServlet.java	11 Feb 2002 18:31:08 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequestWrapper/ServletRequestWrapperGetRemoteHostTestServlet.java,v
1.2 2002/02/10 16:40:07 rlubke Exp $ 
  - * $Revision: 1.2 $
  - * $Date: 2002/02/10 16:40:07 $
  + * $Header: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequestWrapper/ServletRequestWrapperGetRemoteHostTestServlet.java,v
1.3 2002/02/11 18:31:08 rlubke Exp $ 
  + * $Revision: 1.3 $
  + * $Date: 2002/02/11 18:31:08 $
    *
    * ====================================================================
    * The Apache Software License, Version 1.1
  @@ -91,7 +91,7 @@
                   boolean found = false;
   
                   while ( ( !found ) && ( i <= len - 1 ) ) {
  -                    if ( result.equalsIgnoreCase( expectedResult[ i ] ) ) {
  +                    if ( result.toLowerCase().indexOf( expectedResult[ i ] ) > -1 )
{
                           found = true;
                       }
   
  
  
  

--
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