From c2a1684cb79f17650c7ac77790abb9313d553318 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Wed, 6 Dec 2006 15:26:07 +0000 Subject: [PATCH] use ProjectComponent's description git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483114 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/types/DataType.java | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/DataType.java b/src/main/org/apache/tools/ant/types/DataType.java index 485eb82f0..780d4056e 100644 --- a/src/main/org/apache/tools/ant/types/DataType.java +++ b/src/main/org/apache/tools/ant/types/DataType.java @@ -38,17 +38,6 @@ import org.apache.tools.ant.util.IdentityStack; * */ 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 {@link #setDescription} or - * {@link #getDescription} instead. - */ - protected String description; /** * Value to the refid attribute. @@ -74,25 +63,6 @@ public abstract class DataType extends ProjectComponent implements Cloneable { */ 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? * @return true if the refid attribute has been set