ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant Task.java
Date Sun, 16 Dec 2001 04:11:56 GMT
donaldp     01/12/15 20:11:56

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant Task.java
  Log:
  getTaskName() -> getName() and this is inherited from AbstractTask
  
  Revision  Changes    Path
  1.5       +1 -22     jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Task.java
  
  Index: Task.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Task.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Task.java	2001/12/16 03:10:16	1.4
  +++ Task.java	2001/12/16 04:11:56	1.5
  @@ -15,7 +15,6 @@
   {
       protected Target target;
       protected String description;
  -    protected String taskName;
       protected String taskType;
       protected RuntimeConfigurable wrapper;
   
  @@ -40,16 +39,6 @@
           this.target = target;
       }
   
  -    /**
  -     * Set the name to use in logging messages.
  -     *
  -     * @param name the name to use in logging messages.
  -     */
  -    public void setTaskName( String name )
  -    {
  -        this.taskName = name;
  -    }
  -
       public String getDescription()
       {
           return description;
  @@ -74,19 +63,9 @@
       {
           if( wrapper == null )
           {
  -            wrapper = new RuntimeConfigurable( this, getTaskName() );
  +            wrapper = new RuntimeConfigurable( this, getName() );
           }
           return wrapper;
  -    }
  -
  -    /**
  -     * Get the name to use in logging messages.
  -     *
  -     * @return the name to use in logging messages.
  -     */
  -    public String getTaskName()
  -    {
  -        return taskName;
       }
   
       /**
  
  
  

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