Browse Source

use ProjectComponent's description

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483114 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 18 years ago
parent
commit
c2a1684cb7
1 changed files with 0 additions and 30 deletions
  1. +0
    -30
      src/main/org/apache/tools/ant/types/DataType.java

+ 0
- 30
src/main/org/apache/tools/ant/types/DataType.java View File

@@ -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


Loading…
Cancel
Save