correction of MAVEN-280.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb57c2d925
commit
fd8b9814c9
@ -11,18 +11,27 @@
|
||||
<p>
|
||||
#foreach ($class in $docInfo.classes)
|
||||
#set ($todoTags = $class.getTags("@todo"))
|
||||
#if ($todoTags.size() > 0 )
|
||||
#set ($hasToDoMethod = false)
|
||||
#foreach ($m in $class.methods)
|
||||
#set ($methodTodoTags = $m.getTags("@todo"))
|
||||
#if ($methodTodoTags.size() > 0)
|
||||
#set ($hasToDoMethod = true)
|
||||
#end
|
||||
#end
|
||||
#if ($todoTags.size() > 0 || $hasToDoMethod)
|
||||
<subsection name="$class.name">
|
||||
<table>
|
||||
<th>Class Todos</th>
|
||||
#foreach ($tag in $todoTags)
|
||||
<tr>
|
||||
<td>
|
||||
$tag.value
|
||||
</td>
|
||||
</tr>
|
||||
#end
|
||||
</table>
|
||||
#if ($todoTags.size() > 0)
|
||||
<table>
|
||||
<th>Class Todos</th>
|
||||
#foreach ($tag in $todoTags)
|
||||
<tr>
|
||||
<td>
|
||||
$tag.value
|
||||
</td>
|
||||
</tr>
|
||||
#end
|
||||
</table>
|
||||
#end
|
||||
|
||||
#foreach ($m in $class.methods)
|
||||
#set ($methodTodoTags = $m.getTags("@todo"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user