ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r483114 - /ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java
Date Wed, 06 Dec 2006 15:26:08 GMT
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 {@link #setDescription} or
-     *             {@link #getDescription} instead.
-     */
-    protected String description;
 
     /**
      * Value to the refid attribute.
@@ -73,25 +62,6 @@
      *             {@link #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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message