ehatcher 02/02/27 19:51:40
Modified: proposal/xdocs/src/org/apache/tools/ant/xdoclet
AntTagsHandler.java
Log:
removed mandatory requirement for category (at least for now)
Revision Changes Path
1.4 +3 -3
jakarta-ant/proposal/xdocs/src/org/apache/tools/ant/xdoclet/AntTagsHandler.java
Index: AntTagsHandler.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/proposal/xdocs/src/org/apache/tools/ant/xdoclet/AntTagsHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AntTagsHandler.java 28 Feb 2002 03:45:09 -0000 1.3
+++ AntTagsHandler.java 28 Feb 2002 03:51:40 -0000 1.4
@@ -211,13 +211,13 @@
}
/**
- * Provides the Ant category name as the Value of the category
attribute,
- * <code>@ant:task category="..."</code>. This attribute is
mandatory.
+ * Provides the Ant category name as the Value of the category attribute,
+ * <code>@ant:task 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();
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>