From c43785a9227d977fb03000c0f98117607255f4ee Mon Sep 17 00:00:00 2001 From: KrystianUjma Date: Mon, 10 Jun 2019 12:31:11 +0200 Subject: fix kotlin website html --- core/src/main/kotlin/Formats/StructuredFormatService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/Formats/StructuredFormatService.kt b/core/src/main/kotlin/Formats/StructuredFormatService.kt index 82359454..264a176d 100644 --- a/core/src/main/kotlin/Formats/StructuredFormatService.kt +++ b/core/src/main/kotlin/Formats/StructuredFormatService.kt @@ -964,7 +964,7 @@ fun effectivePlatformsForMembers(nodes: Collection): Platform } fun mergeVersions(kotlinVersions: List): String { - return kotlinVersions.distinct().min()!! + return kotlinVersions.distinct().min().orEmpty() } fun effectiveSinceKotlinForNode(node: DocumentationNode, baseVersion: String = "1.0"): String { -- cgit