ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant Main.java
Date Wed, 06 Nov 2002 10:22:57 GMT
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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message