ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java
Date Tue, 22 Jul 2003 14:58:49 GMT
antoine     2003/07/22 07:58:48

  Modified:    src/main/org/apache/tools/ant/util FileUtils.java
  Log:
  there was still a little bone :)
  
  Revision  Changes    Path
  1.52      +2 -2      ant/src/main/org/apache/tools/ant/util/FileUtils.java
  
  Index: FileUtils.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- FileUtils.java	22 Jul 2003 14:53:55 -0000	1.51
  +++ FileUtils.java	22 Jul 2003 14:58:48 -0000	1.52
  @@ -1188,7 +1188,7 @@
   
           // ensure that l ends with a /
           // so we never think /foo was a parent directory of /foobar
  -        if (!l.endsWith("/")) {
  +        if (!l.endsWith(File.separator)) {
               l += File.separator;
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message