aboutsummaryrefslogtreecommitdiff
path: root/src/Languages
diff options
context:
space:
mode:
authorSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-24 15:35:22 +0300
committerSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-24 15:35:22 +0300
commit891cdbbe19580ee2379e3b7cfe269109bf897d84 (patch)
tree0142193241c3f9700a39313b77188e60af97d083 /src/Languages
parentf822c51af0ca775a260f8aab010c9ccc9be8d52e (diff)
downloaddokka-891cdbbe19580ee2379e3b7cfe269109bf897d84.tar.gz
dokka-891cdbbe19580ee2379e3b7cfe269109bf897d84.tar.bz2
dokka-891cdbbe19580ee2379e3b7cfe269109bf897d84.zip
Put source position information to node's details section
Diffstat (limited to 'src/Languages')
-rw-r--r--src/Languages/JavaLanguageService.kt4
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()