ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant BuildEvent.java BuildListener.java DefaultLogger.java
Date Wed, 06 Mar 2002 08:31:43 GMT
conor       02/03/06 00:31:42

  Modified:    src/main/org/apache/tools/ant BuildEvent.java
                        BuildListener.java DefaultLogger.java
  Log:
  Add author tags
  Fix up missing Javadoc params
  
  Revision  Changes    Path
  1.8       +2 -0      jakarta-ant/src/main/org/apache/tools/ant/BuildEvent.java
  
  Index: BuildEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/BuildEvent.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -w -u -r1.7 -r1.8
  --- BuildEvent.java	15 Feb 2002 13:59:38 -0000	1.7
  +++ BuildEvent.java	6 Mar 2002 08:31:42 -0000	1.8
  @@ -61,6 +61,8 @@
    * A project level event will only have a project reference;
    * a target level event will have project and target references;
    * a task level event will have project, target and task references.
  + *
  + * @author Matt Foemmel
    */
   public class BuildEvent extends EventObject {
       
  
  
  
  1.7       +2 -0      jakarta-ant/src/main/org/apache/tools/ant/BuildListener.java
  
  Index: BuildListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/BuildListener.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -w -u -r1.6 -r1.7
  --- BuildListener.java	15 Feb 2002 13:59:38 -0000	1.6
  +++ BuildListener.java	6 Mar 2002 08:31:42 -0000	1.7
  @@ -62,6 +62,8 @@
    *
    * @see BuildEvent
    * @see Project#addBuildListener(BuildListener)
  + *
  + * @author Matt Foemmel
    */
   public interface BuildListener extends EventListener {
   
  
  
  
  1.34      +5 -3      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.33
  retrieving revision 1.34
  diff -u -w -u -r1.33 -r1.34
  --- DefaultLogger.java	18 Feb 2002 18:27:58 -0000	1.33
  +++ DefaultLogger.java	6 Mar 2002 08:31:42 -0000	1.34
  @@ -55,8 +55,6 @@
   package org.apache.tools.ant;
   
   import java.io.PrintStream;
  -import java.text.ChoiceFormat;
  -import java.text.MessageFormat;
   
   import org.apache.tools.ant.util.StringUtils;
   import org.apache.tools.ant.util.DateUtils;
  @@ -65,13 +63,15 @@
    * Writes build events to a PrintStream. Currently, it
    * only writes which targets are being executed, and
    * any messages that get logged.
  + *
  + * @author Matt Foemmel
    */
   public class DefaultLogger implements BuildLogger {
       /** 
        * Size of left-hand column for right-justified task name.
        * @see #messageLogged(BuildEvent)
        */
  -    private static int LEFT_COLUMN_SIZE = 12;
  +    private static final int LEFT_COLUMN_SIZE = 12;
   
       /** PrintStream to write non-error messages to */
       protected PrintStream out;
  @@ -279,6 +279,8 @@
        * 
        * @param millis Length of time to format, in milliseonds.
        * 
  +     * @return the time as a formatted string.
  +     *
        * @see DateUtils#formatElapsedTime(long)
        */
       protected static String formatTime(final long millis) {
  
  
  

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