From fc22bf083554dd2dae2cdfdddc56c81f340d201a Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Fri, 28 Aug 2020 15:45:22 +0200 Subject: Improve style of ModuleAndPackageDocumentationSource --- .../parsers/moduleAndPackage/ModuleAndPackageDocumentationSource.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/base/src/main/kotlin') 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() { -- cgit