ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant DefaultLogger.java
Date Fri, 26 Apr 2002 01:02:26 GMT
ehatcher    02/04/25 18:02:26

  Modified:    src/main/org/apache/tools/ant DefaultLogger.java
  Log:
  PR 8521 - fix for exception for long task names provided by Jason Schuchert.
  
  Revision  Changes    Path
  1.38      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/DefaultLogger.java
  
  Index: DefaultLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/DefaultLogger.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- DefaultLogger.java	25 Apr 2002 12:14:49 -0000	1.37
  +++ DefaultLogger.java	26 Apr 2002 01:02:26 -0000	1.38
  @@ -254,7 +254,7 @@
                   String name = event.getTask().getTaskName();
                   String label = "[" + name + "] ";
                   int size = LEFT_COLUMN_SIZE - label.length();
  -                StringBuffer tmp = new StringBuffer(size);
  +                StringBuffer tmp = new StringBuffer();
                   for (int i = 0; i < size; i++) {
                       tmp.append(" ");
                   }
  
  
  

--
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