bodewig     2002/11/06 02:22:56

  Modified:    src/main/org/apache/tools/ant Main.java
  Log:
  Fix of by one error in printTargets
  
  PR: 14274
  Submitted by: Martijn Kruithof <martijn at kruithof.xs4all.nl>
  
  Revision  Changes    Path
  1.74      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- Main.java 25 Jul 2002 15:21:01 -0000      1.73
  +++ Main.java 6 Nov 2002 10:22:56 -0000       1.74
  @@ -929,7 +929,7 @@
           String lSep = System.getProperty("line.separator");
           // got a bit annoyed that I couldn't find a pad function
           String spaces = "    ";
  -        while (spaces.length() < maxlen) {
  +        while (spaces.length() <= maxlen) {
               spaces += spaces;
           }
           StringBuffer msg = new StringBuffer();
  
  
  

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

Reply via email to