git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270174 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -15,7 +15,6 @@ public abstract class Task | |||||
| { | { | ||||
| protected Target target; | protected Target target; | ||||
| protected String description; | protected String description; | ||||
| protected String taskName; | |||||
| protected String taskType; | protected String taskType; | ||||
| protected RuntimeConfigurable wrapper; | protected RuntimeConfigurable wrapper; | ||||
| @@ -40,16 +39,6 @@ public abstract class Task | |||||
| this.target = target; | 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() | public String getDescription() | ||||
| { | { | ||||
| return description; | return description; | ||||
| @@ -74,21 +63,11 @@ public abstract class Task | |||||
| { | { | ||||
| if( wrapper == null ) | if( wrapper == null ) | ||||
| { | { | ||||
| wrapper = new RuntimeConfigurable( this, getTaskName() ); | |||||
| wrapper = new RuntimeConfigurable( this, getName() ); | |||||
| } | } | ||||
| return wrapper; | return wrapper; | ||||
| } | } | ||||
| /** | |||||
| * Get the name to use in logging messages. | |||||
| * | |||||
| * @return the name to use in logging messages. | |||||
| */ | |||||
| public String getTaskName() | |||||
| { | |||||
| return taskName; | |||||
| } | |||||
| /** | /** | ||||
| * Perform this task | * Perform this task | ||||
| */ | */ | ||||
| @@ -15,7 +15,6 @@ public abstract class Task | |||||
| { | { | ||||
| protected Target target; | protected Target target; | ||||
| protected String description; | protected String description; | ||||
| protected String taskName; | |||||
| protected String taskType; | protected String taskType; | ||||
| protected RuntimeConfigurable wrapper; | protected RuntimeConfigurable wrapper; | ||||
| @@ -40,16 +39,6 @@ public abstract class Task | |||||
| this.target = target; | 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() | public String getDescription() | ||||
| { | { | ||||
| return description; | return description; | ||||
| @@ -74,21 +63,11 @@ public abstract class Task | |||||
| { | { | ||||
| if( wrapper == null ) | if( wrapper == null ) | ||||
| { | { | ||||
| wrapper = new RuntimeConfigurable( this, getTaskName() ); | |||||
| wrapper = new RuntimeConfigurable( this, getName() ); | |||||
| } | } | ||||
| return wrapper; | return wrapper; | ||||
| } | } | ||||
| /** | |||||
| * Get the name to use in logging messages. | |||||
| * | |||||
| * @return the name to use in logging messages. | |||||
| */ | |||||
| public String getTaskName() | |||||
| { | |||||
| return taskName; | |||||
| } | |||||
| /** | /** | ||||
| * Perform this task | * Perform this task | ||||
| */ | */ | ||||