aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-28 15:45:22 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-31 15:10:04 +0200
commitfc22bf083554dd2dae2cdfdddc56c81f340d201a (patch)
tree2fe6eebc88f105c944e55a8e3be4696577bac349 /plugins
parent2bcb805477da924f815ce72824d36ea7f766ce97 (diff)
downloaddokka-fc22bf083554dd2dae2cdfdddc56c81f340d201a.tar.gz
dokka-fc22bf083554dd2dae2cdfdddc56c81f340d201a.tar.bz2
dokka-fc22bf083554dd2dae2cdfdddc56c81f340d201a.zip
Improve style of ModuleAndPackageDocumentationSource
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/src/main/kotlin/parsers/moduleAndPackage/ModuleAndPackageDocumentationSource.kt5
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() {