aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorKrystianUjma <kujma@virtuslab.com>2019-06-10 18:25:32 +0200
committerKrystianUjma <kujma@virtuslab.com>2019-06-10 18:25:32 +0200
commit935e9eb00a26ef3cff15cc1dd5f685ba773e9663 (patch)
treeeef1a99eb2d3781e800ebb1db2e0dc692bd0d5f6 /core/src
parent920f77491dde4c5ac854ddf313ba1d61debae3b7 (diff)
parenta91570210d078c84b60d9eb0245d6a29f302f2c6 (diff)
downloaddokka-935e9eb00a26ef3cff15cc1dd5f685ba773e9663.tar.gz
dokka-935e9eb00a26ef3cff15cc1dd5f685ba773e9663.tar.bz2
dokka-935e9eb00a26ef3cff15cc1dd5f685ba773e9663.zip
Merge branch 'kotlin-website-html' into multiplatform-support
Diffstat (limited to 'core/src')
-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 {