Browse Source

removed mandatory requirement for category (at least for now)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271597 13f79535-47bb-0310-9956-ffa450edef68
master
Erik Hatcher 23 years ago
parent
commit
a8acf1646b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      proposal/xdocs/src/org/apache/tools/ant/xdoclet/AntTagsHandler.java

+ 3
- 3
proposal/xdocs/src/org/apache/tools/ant/xdoclet/AntTagsHandler.java View File

@@ -211,13 +211,13 @@ public class AntTagsHandler extends XDocletTagSupport {
}

/**
* Provides the Ant category name as the Value of the category attribute,
* <code>@ant:task&nbsp;category="..."</code>. This attribute is mandatory.
* Provides the Ant category name as the Value of the category attribute,
* <code>@ant:task&nbsp;category="..."</code>.
*/
public static final String getCategoryName(ClassDoc clazz) throws XDocletException {
String tagValue = getTagValue(clazz, "ant:task", "category", -1,
null, null, null, null,
null, false, XDocletTagSupport.FOR_CLASS, true);
null, false, XDocletTagSupport.FOR_CLASS, false);
if (tagValue != null) {
tagValue = tagValue.toLowerCase();
}


Loading…
Cancel
Save