diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-28 15:45:22 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-31 15:10:04 +0200 |
commit | fc22bf083554dd2dae2cdfdddc56c81f340d201a (patch) | |
tree | 2fe6eebc88f105c944e55a8e3be4696577bac349 /plugins/base/src/main/kotlin | |
parent | 2bcb805477da924f815ce72824d36ea7f766ce97 (diff) | |
download | dokka-fc22bf083554dd2dae2cdfdddc56c81f340d201a.tar.gz dokka-fc22bf083554dd2dae2cdfdddc56c81f340d201a.tar.bz2 dokka-fc22bf083554dd2dae2cdfdddc56c81f340d201a.zip |
Improve style of ModuleAndPackageDocumentationSource
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r-- | plugins/base/src/main/kotlin/parsers/moduleAndPackage/ModuleAndPackageDocumentationSource.kt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/base/src/main/kotlin/parsers/moduleAndPackage/ModuleAndPackageDocumentationSource.kt b/plugins/base/src/main/kotlin/parsers/moduleAndPackage/ModuleAndPackageDocumentationSource.kt index 7c3f6d97..90dc9ca8 100644 --- a/plugins/base/src/main/kotlin/parsers/moduleAndPackage/ModuleAndPackageDocumentationSource.kt +++ b/plugins/base/src/main/kotlin/parsers/moduleAndPackage/ModuleAndPackageDocumentationSource.kt @@ -5,10 +5,7 @@ import java.io.File internal abstract class ModuleAndPackageDocumentationSource { abstract val sourceDescription: String abstract val documentation: String - - override fun toString(): String { - return sourceDescription - } + override fun toString(): String = sourceDescription } internal data class ModuleAndPackageDocumentationFile(private val file: File) : ModuleAndPackageDocumentationSource() { |