git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491717 13f79535-47bb-0310-9956-ffa450edef68master
@@ -24,6 +24,10 @@ Fixed bugs: | |||||
and expands properties if expandproperties is false. | and expands properties if expandproperties is false. | ||||
Bugzilla report 41204. | Bugzilla report 41204. | ||||
* Rolling back Bugzilla 32927 (set a default description for a javadoc tag | |||||
if not set) as it caused a BC problem. | |||||
Bugzilla report 41268. | |||||
Other changes: | Other changes: | ||||
-------------- | -------------- | ||||
@@ -702,8 +702,9 @@ not set the description attribute for those tags.</p> | |||||
<tr> | <tr> | ||||
<td valign="top">description</td> | <td valign="top">description</td> | ||||
<td valign="top">Description for tag (e.g. <code>To do:</code>)</td> | <td valign="top">Description for tag (e.g. <code>To do:</code>)</td> | ||||
<td align="center" valign="top">No, the name will be used as a description | |||||
if this is not specified.</td> | |||||
<td align="center" valign="top"> | |||||
No, the javadoc executable will pick a default if this is not specified. | |||||
</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">enabled</td> | <td valign="top">enabled</td> | ||||
@@ -1399,9 +1399,10 @@ public class Javadoc extends Task { | |||||
if (getDescription() != null) { | if (getDescription() != null) { | ||||
return name + ":" + (enabled ? "" : "X") | return name + ":" + (enabled ? "" : "X") | ||||
+ scope + ":" + getDescription(); | + scope + ":" + getDescription(); | ||||
} else if (!enabled || !"a".equals(scope)) { | |||||
return name + ":" + (enabled ? "" : "X") + scope; | |||||
} else { | } else { | ||||
return name + ":" + (enabled ? "" : "X") | |||||
+ scope + ":" + name; | |||||
return name; | |||||
} | } | ||||
} | } | ||||
} | } | ||||