summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Furlanetto <pedrofurla@gmail.com>2010-10-05 01:43:45 +0000
committerPedro Furlanetto <pedrofurla@gmail.com>2010-10-05 01:43:45 +0000
commit74a0c96db07a3bef246bcc197cbe545b2a1eeee7 (patch)
treee735dfccb0e34b2ef83ae2f183f41e2631c70ee8
parent6472e115d500bc0cae6064af2603c94c247c9732 (diff)
downloadscala-74a0c96db07a3bef246bcc197cbe545b2a1eeee7.tar.gz
scala-74a0c96db07a3bef246bcc197cbe545b2a1eeee7.tar.bz2
scala-74a0c96db07a3bef246bcc197cbe545b2a1eeee7.zip
Checkes the size of the author list properly
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/page/Template.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
index 18d8a99622..362dcbe47d 100644
--- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
+++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
@@ -339,7 +339,7 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage {
</ol></div>
else NodeSeq.Empty
}
- { if(!comment.since.isEmpty && !isReduced)
+ { if(!comment.authors.isEmpty && !isReduced)
<div class="block"><ol>authors
{ val authors:List[scala.xml.NodeSeq]=for(body <- comment.authors) yield <li>{bodyToHtml(body)}</li>
authors.reduceLeft(_ ++ Text(", ") ++ _)