ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Zip.java
Date Sat, 26 Jan 2002 19:37:54 GMT
sbailliez    02/01/26 11:37:54

  Modified:    src/main/org/apache/tools/ant/taskdefs Zip.java
  Log:
  Fix unecessary cast
  
  Revision  Changes    Path
  1.60      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java
  
  Index: Zip.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- Zip.java	10 Jan 2002 13:59:32 -0000	1.59
  +++ Zip.java	26 Jan 2002 19:37:54 -0000	1.60
  @@ -713,7 +713,7 @@
               Stack directories = new Stack();
               int slashPos = entry.length();
   
  -            while ((slashPos = entry.lastIndexOf((int)'/', slashPos-1)) != -1) {
  +            while ((slashPos = entry.lastIndexOf('/', slashPos-1)) != -1) {
                   String dir = entry.substring(0, slashPos+1);
                   if (addedDirs.get(prefix+dir) != null) {
                       break;
  
  
  

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


Mime
View raw message