aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-07-29 16:51:40 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-03 13:47:51 +0200
commit6e6876e2e9576f1ccd2816bab5c1a5ea7e23409f (patch)
tree462289b6afd9c536c4f93b391113dbbeb6d0dc49 /plugins/base/src
parentd0f707af0199a99085dc40693628acbf7e543abe (diff)
downloaddokka-6e6876e2e9576f1ccd2816bab5c1a5ea7e23409f.tar.gz
dokka-6e6876e2e9576f1ccd2816bab5c1a5ea7e23409f.tar.bz2
dokka-6e6876e2e9576f1ccd2816bab5c1a5ea7e23409f.zip
Improve sorting algorithm
Diffstat (limited to 'plugins/base/src')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt3
1 files changed, 2 insertions, 1 deletions
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<String, Pair<String, String>>()
+ private val pageList = ConcurrentHashMap<String, Pair<String, String>>()
override val preprocessors = context.plugin<DokkaBase>().query { htmlPreprocessors }