summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-12-06 14:38:12 -0800
committerPaul Phillips <paulp@improving.org>2011-12-06 14:38:12 -0800
commit332fec96e31840878bed41dd7b5314b97d8da7c2 (patch)
treef6280c9e9aec6a56318476b8a1f90dae2417125d /src
parent2969c53af1ed5bad39def14795ffeb8a0d910397 (diff)
parent7dd56671c0afbb9e94497a47b99230ce2814fc8d (diff)
downloadscala-332fec96e31840878bed41dd7b5314b97d8da7c2.tar.gz
scala-332fec96e31840878bed41dd7b5314b97d8da7c2.tar.bz2
scala-332fec96e31840878bed41dd7b5314b97d8da7c2.zip
Merge remote-tracking branch 'soc/scaladoc-spacing' into develop
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/page/Template.scala7
1 files changed, 3 insertions, 4 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 813958af85..5e5320ca9a 100644
--- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
+++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
@@ -563,8 +563,7 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage {
if (!nameLink.isEmpty)
<a href={nameLink}>{nameHtml}</a>
else nameHtml
- }
- {
+ }{
def tparamsToHtml(mbr: Entity): NodeSeq = mbr match {
case hk: HigherKinded =>
val tpss = hk.typeParams
@@ -580,8 +579,8 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage {
case _ => NodeSeq.Empty
}
tparamsToHtml(mbr)
- }
- { if (isReduced) NodeSeq.Empty else {
+ }{
+ if (isReduced) NodeSeq.Empty else {
def paramsToHtml(vlsss: List[List[ValueParam]]): NodeSeq = {
def param0(vl: ValueParam): NodeSeq =
// notice the }{ in the next lines, they are necessary to avoid a undesired withspace in output