git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270452 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -26,11 +26,6 @@ import org.apache.tools.ant.ProjectComponent; | |||||
| public abstract class DataType | public abstract class DataType | ||||
| extends ProjectComponent | extends ProjectComponent | ||||
| { | { | ||||
| /** | |||||
| * The descriptin the user has set. | |||||
| */ | |||||
| protected String description; | |||||
| /** | /** | ||||
| * Value to the refid attribute. | * Value to the refid attribute. | ||||
| */ | */ | ||||
| @@ -45,17 +40,6 @@ public abstract class DataType | |||||
| */ | */ | ||||
| protected boolean checked = true; | protected boolean checked = true; | ||||
| /** | |||||
| * Sets a description of the current data type. It will be useful in | |||||
| * commenting what we are doing. | |||||
| * | |||||
| * @param desc The new Description value | |||||
| */ | |||||
| public void setDescription( String desc ) | |||||
| { | |||||
| description = desc; | |||||
| } | |||||
| /** | /** | ||||
| * Set the value of the refid attribute. <p> | * Set the value of the refid attribute. <p> | ||||
| * | * | ||||
| @@ -72,16 +56,6 @@ public abstract class DataType | |||||
| checked = false; | checked = false; | ||||
| } | } | ||||
| /** | |||||
| * Return the description for the current data type. | |||||
| * | |||||
| * @return The Description value | |||||
| */ | |||||
| public String getDescription() | |||||
| { | |||||
| return description; | |||||
| } | |||||
| /** | /** | ||||
| * Has the refid attribute of this element been set? | * Has the refid attribute of this element been set? | ||||
| * | * | ||||
| @@ -19,7 +19,6 @@ import org.apache.myrmidon.api.TaskException; | |||||
| */ | */ | ||||
| public abstract class EnumeratedAttribute | public abstract class EnumeratedAttribute | ||||
| { | { | ||||
| protected String value; | protected String value; | ||||
| public EnumeratedAttribute() | public EnumeratedAttribute() | ||||
| @@ -17,20 +17,8 @@ import org.apache.tools.ant.Project; | |||||
| */ | */ | ||||
| public class Reference | public class Reference | ||||
| { | { | ||||
| private String refid; | private String refid; | ||||
| public Reference() | |||||
| { | |||||
| super(); | |||||
| } | |||||
| public Reference( String id ) | |||||
| { | |||||
| this(); | |||||
| setRefId( id ); | |||||
| } | |||||
| public void setRefId( String id ) | public void setRefId( String id ) | ||||
| { | { | ||||
| refid = id; | refid = id; | ||||
| @@ -26,11 +26,6 @@ import org.apache.tools.ant.ProjectComponent; | |||||
| public abstract class DataType | public abstract class DataType | ||||
| extends ProjectComponent | extends ProjectComponent | ||||
| { | { | ||||
| /** | |||||
| * The descriptin the user has set. | |||||
| */ | |||||
| protected String description; | |||||
| /** | /** | ||||
| * Value to the refid attribute. | * Value to the refid attribute. | ||||
| */ | */ | ||||
| @@ -45,17 +40,6 @@ public abstract class DataType | |||||
| */ | */ | ||||
| protected boolean checked = true; | protected boolean checked = true; | ||||
| /** | |||||
| * Sets a description of the current data type. It will be useful in | |||||
| * commenting what we are doing. | |||||
| * | |||||
| * @param desc The new Description value | |||||
| */ | |||||
| public void setDescription( String desc ) | |||||
| { | |||||
| description = desc; | |||||
| } | |||||
| /** | /** | ||||
| * Set the value of the refid attribute. <p> | * Set the value of the refid attribute. <p> | ||||
| * | * | ||||
| @@ -72,16 +56,6 @@ public abstract class DataType | |||||
| checked = false; | checked = false; | ||||
| } | } | ||||
| /** | |||||
| * Return the description for the current data type. | |||||
| * | |||||
| * @return The Description value | |||||
| */ | |||||
| public String getDescription() | |||||
| { | |||||
| return description; | |||||
| } | |||||
| /** | /** | ||||
| * Has the refid attribute of this element been set? | * Has the refid attribute of this element been set? | ||||
| * | * | ||||
| @@ -19,7 +19,6 @@ import org.apache.myrmidon.api.TaskException; | |||||
| */ | */ | ||||
| public abstract class EnumeratedAttribute | public abstract class EnumeratedAttribute | ||||
| { | { | ||||
| protected String value; | protected String value; | ||||
| public EnumeratedAttribute() | public EnumeratedAttribute() | ||||
| @@ -17,20 +17,8 @@ import org.apache.tools.ant.Project; | |||||
| */ | */ | ||||
| public class Reference | public class Reference | ||||
| { | { | ||||
| private String refid; | private String refid; | ||||
| public Reference() | |||||
| { | |||||
| super(); | |||||
| } | |||||
| public Reference( String id ) | |||||
| { | |||||
| this(); | |||||
| setRefId( id ); | |||||
| } | |||||
| public void setRefId( String id ) | public void setRefId( String id ) | ||||
| { | { | ||||
| refid = id; | refid = id; | ||||