diff options
author | Dmitry Jemerov <intelliyole@gmail.com> | 2015-07-27 15:13:11 +0200 |
---|---|---|
committer | Dmitry Jemerov <intelliyole@gmail.com> | 2015-07-27 15:13:11 +0200 |
commit | befbe69c3863b1048b585e795ec2f99d5a10390e (patch) | |
tree | d2392c9a9fafbd5b2e7b9c5c35c593fd73d59d0d /src/Languages/JavaLanguageService.kt | |
parent | 28a3891ffa2c4984a9d49be41d76fe97854872c9 (diff) | |
parent | 2930cd9685c5e6296b24e9530b296c7ce3ea89fa (diff) | |
download | dokka-befbe69c3863b1048b585e795ec2f99d5a10390e.tar.gz dokka-befbe69c3863b1048b585e795ec2f99d5a10390e.tar.bz2 dokka-befbe69c3863b1048b585e795ec2f99d5a10390e.zip |
Merge pull request #31 from cy6erGn0m/javadoc
Kotlin upgrade + source position in documentation node
Diffstat (limited to 'src/Languages/JavaLanguageService.kt')
-rw-r--r-- | src/Languages/JavaLanguageService.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Languages/JavaLanguageService.kt b/src/Languages/JavaLanguageService.kt index 7446b34f..e491d1bd 100644 --- a/src/Languages/JavaLanguageService.kt +++ b/src/Languages/JavaLanguageService.kt @@ -123,9 +123,9 @@ public class JavaLanguageService : LanguageService { val receiver = node.details(Kind.Receiver).singleOrNull() append("(") if (receiver != null) - append((listOf(receiver) + node.details(Kind.Parameter)).map { renderParameter(it) }.join()) + (listOf(receiver) + node.details(Kind.Parameter)).map { renderParameter(it) }.joinTo(this) else - append(node.details(Kind.Parameter).map { renderParameter(it) }.join()) + node.details(Kind.Parameter).map { renderParameter(it) }.joinTo(this) append(")") }.toString() |