aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Formats
diff options
context:
space:
mode:
authorKrystianUjma <kujma@virtuslab.com>2019-06-10 12:31:11 +0200
committerKrystianUjma <kujma@virtuslab.com>2019-06-10 12:31:11 +0200
commitc43785a9227d977fb03000c0f98117607255f4ee (patch)
treed28e5485fd9475ef03913ac6be982acfa25c5187 /core/src/main/kotlin/Formats
parent993b8fe11d9ca566fdfab997489fcc948182aae5 (diff)
downloaddokka-c43785a9227d977fb03000c0f98117607255f4ee.tar.gz
dokka-c43785a9227d977fb03000c0f98117607255f4ee.tar.bz2
dokka-c43785a9227d977fb03000c0f98117607255f4ee.zip
fix kotlin website html
Diffstat (limited to 'core/src/main/kotlin/Formats')
-rw-r--r--core/src/main/kotlin/Formats/StructuredFormatService.kt2
1 files changed, 1 insertions, 1 deletions
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<DocumentationNode>): Platform
}
fun mergeVersions(kotlinVersions: List<String>): String {
- return kotlinVersions.distinct().min()!!
+ return kotlinVersions.distinct().min().orEmpty()
}
fun effectiveSinceKotlinForNode(node: DocumentationNode, baseVersion: String = "1.0"): String {