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/ServletRequest GetRemoteHostTestServlet.java
Date Sun, 10 Feb 2002 16:39:20 GMT
rlubke      02/02/10 08:39:20

  Modified:    src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequest
                        GetRemoteHostTestServlet.java
  Log:
   - Changed equality check to be case insensitive.
  
  Revision  Changes    Path
  1.3       +4 -4      jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequest/GetRemoteHostTestServlet.java
  
  Index: GetRemoteHostTestServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequest/GetRemoteHostTestServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GetRemoteHostTestServlet.java	11 Jan 2002 22:20:58 -0000	1.2
  +++ GetRemoteHostTestServlet.java	10 Feb 2002 16:39:20 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequest/GetRemoteHostTestServlet.java,v
1.2 2002/01/11 22:20:58 rlubke Exp $ 
  - * $Revision: 1.2 $
  - * $Date: 2002/01/11 22:20:58 $
  + * $Header: /home/cvs/jakarta-watchdog-4.0/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequest/GetRemoteHostTestServlet.java,v
1.3 2002/02/10 16:39:20 rlubke Exp $ 
  + * $Revision: 1.3 $
  + * $Date: 2002/02/10 16:39:20 $
    *
    * ====================================================================
    * The Apache Software License, Version 1.1
  @@ -93,7 +93,7 @@
                   boolean found = false;
   
                   while ( ( !found ) && ( i <= len - 1 ) ) {
  -                    if ( result.equals( expectedResult[ i ] ) ) {
  +                    if ( result.equalsIgnoreCase( expectedResult[ i ] ) ) {
                           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