mbenson     2005/01/28 09:27:09

  Modified:    src/main/org/apache/tools/ant Task.java
  Log:
  Javadoc
  
  Revision  Changes    Path
  1.62      +13 -14    ant/src/main/org/apache/tools/ant/Task.java
  
  Index: Task.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Task.java,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- Task.java 10 Sep 2004 10:46:08 -0000      1.61
  +++ Task.java 28 Jan 2005 17:27:09 -0000      1.62
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2004 The Apache Software Foundation
  + * Copyright  2000-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -178,7 +178,7 @@
        * if target1 and target2 both depend on target3, then running
        * "ant target1 target2" will run all tasks in target3 twice.
        *
  -     * @exception BuildException if something goes wrong with the build
  +     * @exception BuildException if something goes wrong with the build.
        */
       public void execute() throws BuildException {
       }
  @@ -200,7 +200,7 @@
        * Sets the file/location where this task was defined.
        *
        * @param location The file/location where this task was defined.
  -     *                 Should not be <code>null</code> - use
  +     *                 Should not be <code>null</code>--use
        *                 Location.UNKNOWN_LOCATION if the location isn't known.
        *
        * @see Location#UNKNOWN_LOCATION
  @@ -226,7 +226,7 @@
       /**
        * Sets the wrapper to be used for runtime configuration.
        *
  -     * This method should be used only by the ProjectHelper and ant 
internals.
  +     * This method should be used only by the ProjectHelper and Ant 
internals.
        * It is public to allow helper plugins to operate on tasks, normal tasks
        * should never use it.
        *
  @@ -261,8 +261,7 @@
       }
   
       /**
  -     * Force the task to be reconfigured from it's RuntimeConfigurable
  -     *
  +     * Force the task to be reconfigured from its RuntimeConfigurable.
        */
       public void reconfigure() {
           if (wrapper != null) {
  @@ -291,15 +290,15 @@
       }
   
       /**
  -     * Handle an input request by this task
  +     * Handle an input request by this task.
        *
        * @param buffer the buffer into which data is to be read.
        * @param offset the offset into the buffer at which data is stored.
  -     * @param length the amount of data to read
  +     * @param length the amount of data to read.
        *
  -     * @return the number of bytes read
  +     * @return the number of bytes read.
        *
  -     * @exception IOException if the data cannot be read
  +     * @exception IOException if the data cannot be read.
        * @since Ant 1.6
        */
       protected int handleInput(byte[] buffer, int offset, int length)
  @@ -460,18 +459,18 @@
       }
   
       /**
  -     * Return the type of task
  +     * Return the type of task.
        *
  -     * @return the type of task
  +     * @return the type of task.
        */
       public String getTaskType() {
           return taskType;
       }
   
       /**
  -     * Return the runtime configurable structure for this task
  +     * Return the runtime configurable structure for this task.
        *
  -     * @return the runtime structure for this task
  +     * @return the runtime structure for this task.
        */
       protected RuntimeConfigurable getWrapper() {
           return wrapper;
  
  
  

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

Reply via email to