You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by gl...@apache.org on 2001/01/22 22:15:10 UTC

cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Copy.java

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());
               }
           }
       }