diff options
author | Vlad Ureche <vlad.ureche@gmail.com> | 2012-07-16 13:32:05 +0200 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@gmail.com> | 2012-07-16 23:41:44 +0200 |
commit | 17f745d33cbda90aa552c95bc5456ed793180333 (patch) | |
tree | 7651dbbd8ad9cd36267ddcd7168406d8375e5d32 /src/compiler/scala/tools/nsc/doc/html/page/IndexScript.scala | |
parent | 376403266c699190882ef7c9f2a7c65c86a23a3d (diff) | |
download | scala-17f745d33cbda90aa552c95bc5456ed793180333.tar.gz scala-17f745d33cbda90aa552c95bc5456ed793180333.tar.bz2 scala-17f745d33cbda90aa552c95bc5456ed793180333.zip |
Scaladoc: Refactoring the entities
for SI-5784. This commit has been checked with tools/scaladoc-compare
and the only difference is that the containing entities in the index
are not duplicate anymore, which solves yet another bug we did not
know about. :)
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/html/page/IndexScript.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/page/IndexScript.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/page/IndexScript.scala b/src/compiler/scala/tools/nsc/doc/html/page/IndexScript.scala index e1ab479f9d..a37dd3fb8b 100644 --- a/src/compiler/scala/tools/nsc/doc/html/page/IndexScript.scala +++ b/src/compiler/scala/tools/nsc/doc/html/page/IndexScript.scala @@ -27,7 +27,7 @@ class IndexScript(universe: doc.Universe, index: doc.Index) extends Page { val ary = merged.keys.toList.sortBy(_.toLowerCase).map(key => { val pairs = merged(key).map( - t => docEntityKindToString(t) -> relativeLinkTo(t) + t => kindToString(t) -> relativeLinkTo(t) ) :+ ("name" -> key) JSONObject(scala.collection.immutable.Map(pairs : _*)) |