summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-10-02 18:07:52 +0200
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-10-02 18:07:52 +0200
commit7f2262b7d44e6d1cc9563b9b3d20c51179533a94 (patch)
treef0f44c55e24fa5cdf4408808fcd45cf9a5893a49 /src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
parenta64359a959497e7cc63a37cdb450a19660bf6a45 (diff)
parente9edc69684b3d55a0aef16325e358036c71f4c57 (diff)
downloadscala-7f2262b7d44e6d1cc9563b9b3d20c51179533a94.tar.gz
scala-7f2262b7d44e6d1cc9563b9b3d20c51179533a94.tar.bz2
scala-7f2262b7d44e6d1cc9563b9b3d20c51179533a94.zip
Merge remote-tracking branch 'scala/2.10.0-wip' into 2.10.x
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala')
-rw-r--r--src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala b/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
index 1baa7f9831..924ebb8a3b 100644
--- a/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
+++ b/src/compiler/scala/tools/nsc/doc/model/comment/CommentFactory.scala
@@ -147,7 +147,7 @@ trait CommentFactory { thisFactory: ModelFactory with CommentFactory with Member
case (group, body) =>
try {
body match {
- case Body(List(Paragraph(Chain(List(Summary(Text(prio))))))) => List(group -> prio.toInt)
+ case Body(List(Paragraph(Chain(List(Summary(Text(prio))))))) => List(group -> prio.trim.toInt)
case _ => List()
}
} catch {