mbenson     2005/02/10 13:10:10

  Modified:    src/main/org/apache/tools/ant/types Commandline.java
               .        WHATSNEW
  Log:
  Commandline.describeCommand() methods would attempt to describe
  arguments even when none, other than the executable name, were present.
  
  Revision  Changes    Path
  1.40      +1 -1      ant/src/main/org/apache/tools/ant/types/Commandline.java
  
  Index: Commandline.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Commandline.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- Commandline.java  7 Feb 2005 23:18:03 -0000       1.39
  +++ Commandline.java  10 Feb 2005 21:10:10 -0000      1.40
  @@ -554,7 +554,7 @@
           StringBuffer buf = new StringBuffer("Executing \'");
           buf.append(args[0]);
           buf.append("\'");
  -        if (args.length > 0) {
  +        if (args.length > 1) {
               buf.append(" with ");
               buf.append(describeArguments(args, 1));
           } else {
  
  
  
  1.743     +3 -0      ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.742
  retrieving revision 1.743
  diff -u -r1.742 -r1.743
  --- WHATSNEW  8 Feb 2005 18:50:35 -0000       1.742
  +++ WHATSNEW  10 Feb 2005 21:10:10 -0000      1.743
  @@ -41,6 +41,9 @@
     <replace> can now handle files as long as there is enough disk space
     available.
   
  +* Commandline.describeCommand() methods would attempt to describe
  +  arguments even when none, other than the executable name, were present.
  +
   Other changes:
   --------------
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to