Browse Source

Bugzilla 41268: rollback 32927

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491717 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
7719d03ac2
3 changed files with 10 additions and 4 deletions
  1. +4
    -0
      WHATSNEW
  2. +3
    -2
      docs/manual/CoreTasks/javadoc.html
  3. +3
    -2
      src/main/org/apache/tools/ant/taskdefs/Javadoc.java

+ 4
- 0
WHATSNEW View File

@@ -24,6 +24,10 @@ Fixed bugs:
and expands properties if expandproperties is false.
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:
--------------



+ 3
- 2
docs/manual/CoreTasks/javadoc.html View File

@@ -702,8 +702,9 @@ not set the description attribute for those tags.</p>
<tr>
<td valign="top">description</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>
<td valign="top">enabled</td>


+ 3
- 2
src/main/org/apache/tools/ant/taskdefs/Javadoc.java View File

@@ -1399,9 +1399,10 @@ public class Javadoc extends Task {
if (getDescription() != null) {
return name + ":" + (enabled ? "" : "X")
+ scope + ":" + getDescription();
} else if (!enabled || !"a".equals(scope)) {
return name + ":" + (enabled ? "" : "X") + scope;
} else {
return name + ":" + (enabled ? "" : "X")
+ scope + ":" + name;
return name;
}
}
}


Loading…
Cancel
Save