Author: mbenson Date: Wed Dec 6 07:26:07 2006 New Revision: 483114 URL: http://svn.apache.org/viewvc?view=rev&rev=483114 Log: use ProjectComponent's description
Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java?view=diff&rev=483114&r1=483113&r2=483114 ============================================================================== --- ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java Wed Dec 6 07:26:07 2006 @@ -38,17 +38,6 @@ * */ public abstract class DataType extends ProjectComponent implements Cloneable { - // CheckStyle:VisibilityModifier OFF - bc - - /** - * The description the user has set. - * - * @deprecated since 1.7. - * The user should not be directly referencing - * variable. Please use [EMAIL PROTECTED] #setDescription} or - * [EMAIL PROTECTED] #getDescription} instead. - */ - protected String description; /** * Value to the refid attribute. @@ -73,25 +62,6 @@ * [EMAIL PROTECTED] #isChecked} instead. */ protected boolean checked = true; - - // CheckStyle:VisibilityModifier ON - - /** - * Sets a description of the current data type. It will be useful - * in commenting what we are doing. - * @param desc the desciption - */ - public void setDescription(final String desc) { - description = desc; - } - - /** - * Return the description for the current data type. - * @return the description - */ - public String getDescription() { - return description; - } /** * Has the refid attribute of this element been set? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]