diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-07-29 16:51:40 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-08-03 13:47:51 +0200 |
commit | 6e6876e2e9576f1ccd2816bab5c1a5ea7e23409f (patch) | |
tree | 462289b6afd9c536c4f93b391113dbbeb6d0dc49 /plugins/base/src | |
parent | d0f707af0199a99085dc40693628acbf7e543abe (diff) | |
download | dokka-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.kt | 3 |
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 } |