From 6e6876e2e9576f1ccd2816bab5c1a5ea7e23409f Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Wed, 29 Jul 2020 16:51:40 +0200 Subject: Improve sorting algorithm --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin/renderers') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 548da21c..88d2539d 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -20,6 +20,7 @@ import org.jetbrains.dokka.plugability.query import org.jetbrains.dokka.plugability.querySingle import java.io.File import java.net.URI +import java.util.concurrent.ConcurrentHashMap open class HtmlRenderer( context: DokkaContext @@ -33,7 +34,7 @@ open class HtmlRenderer( sourceSetDependencyMap.size > 1 } - private val pageList = mutableMapOf>() + private val pageList = ConcurrentHashMap>() override val preprocessors = context.plugin().query { htmlPreprocessors } -- cgit