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:
evenisse 2003-02-18 09:58:15 +00:00
parent bb57c2d925
commit fd8b9814c9

View File

@ -11,8 +11,16 @@
<p> <p>
#foreach ($class in $docInfo.classes) #foreach ($class in $docInfo.classes)
#set ($todoTags = $class.getTags("@todo")) #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"> <subsection name="$class.name">
#if ($todoTags.size() > 0)
<table> <table>
<th>Class Todos</th> <th>Class Todos</th>
#foreach ($tag in $todoTags) #foreach ($tag in $todoTags)
@ -23,6 +31,7 @@
</tr> </tr>
#end #end
</table> </table>
#end
#foreach ($m in $class.methods) #foreach ($m in $class.methods)
#set ($methodTodoTags = $m.getTags("@todo")) #set ($methodTodoTags = $m.getTags("@todo"))