ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gle...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Copy.java
Date Mon, 22 Jan 2001 21:15:10 GMT
glennm      01/01/22 13:15:10

  Modified:    src/main/org/apache/tools/ant/taskdefs Copy.java
  Log:
  Fixed empty directory count message
  
  Revision  Changes    Path
  1.14      +4 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java
  
  Index: Copy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Copy.java	2001/01/03 14:18:29	1.13
  +++ Copy.java	2001/01/22 21:15:09	1.14
  @@ -360,7 +360,10 @@
               }
   
               if (count > 0) {
  -                log("Copied " + count + " empty directories to " + destDir.getAbsolutePath());
  +                log("Copied " + count + 
  +                    " empty director" + 
  +                    (count==1?"y":"ies") + 
  +                    " to " + destDir.getAbsolutePath());
               }
           }
       }
  
  
  

Mime
View raw message