diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-12 13:25:58 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-12 13:25:58 +0100 |
commit | c5fc45ce7d8f83042420fa992aa9fc23efb0f555 (patch) | |
tree | 657ad57eae066345db08c5007336249f497d4ffe /src/Kotlin/KotlinLanguageService.kt | |
parent | e17eaa5fbc296bab0f32e8169d50fea06a6de581 (diff) | |
download | dokka-c5fc45ce7d8f83042420fa992aa9fc23efb0f555.tar.gz dokka-c5fc45ce7d8f83042420fa992aa9fc23efb0f555.tar.bz2 dokka-c5fc45ce7d8f83042420fa992aa9fc23efb0f555.zip |
code review
Diffstat (limited to 'src/Kotlin/KotlinLanguageService.kt')
-rw-r--r-- | src/Kotlin/KotlinLanguageService.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt index 2ed308f8..40f47639 100644 --- a/src/Kotlin/KotlinLanguageService.kt +++ b/src/Kotlin/KotlinLanguageService.kt @@ -1,13 +1,11 @@ package org.jetbrains.dokka -import org.jetbrains.dokka - /** * Implements [LanguageService] and provides rendering of symbols in Kotlin language */ class KotlinLanguageService : LanguageService { override fun render(node: DocumentationNode): ContentNode { - return dokka.content { + return content { when (node.kind) { DocumentationNode.Kind.Package -> renderPackage(node) DocumentationNode.Kind.Class, |