tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util FileUtil.java
Date Fri, 23 Jun 2000 21:49:07 GMT
nacho       00/06/23 14:49:07

  Modified:    src/share/org/apache/tomcat/util FileUtil.java
  Log:
  Typossss, upps, not compiled before commited :-o
  
  Revision  Changes    Path
  1.9       +5 -5      jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java
  
  Index: FileUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FileUtil.java	2000/06/23 21:41:15	1.8
  +++ FileUtil.java	2000/06/23 21:49:06	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java,v 1.8
2000/06/23 21:41:15 nacho Exp $
  - * $Revision: 1.8 $
  - * $Date: 2000/06/23 21:41:15 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/FileUtil.java,v 1.9
2000/06/23 21:49:06 nacho Exp $
  + * $Revision: 1.9 $
  + * $Date: 2000/06/23 21:49:06 $
    *
    * ====================================================================
    *
  @@ -158,9 +158,9 @@
   	// happens on flavors of Windows.
   	if (File.separatorChar  == '\\') {
   	    // On Windows check ignore case....
  -	    if(!realPath.equalsIgnoreCase(canPath){
  +	    if (!realPath.equalsIgnoreCase(canPath)){
               int ls=realPath.lastIndexOf('\\');
  -            if  ( (ls > 0) && !realPath.substring(0,ls).equalsIgnoreCase(canPath)
))
  +            if ( (ls > 0) && !realPath.substring(0,ls).equalsIgnoreCase(canPath)
)
           		return null;
   	    }
   	}
  
  
  

Mime
View raw message