aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-17 11:00:01 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-17 11:52:28 +0200
commit9a074919f4c0258cf2bf0cb61238a6005844e20b (patch)
tree40620b948481ed7d6d81c5494adf6eee2e3a04b6 /plugins
parentef1bb10aca292e14d8deb35694243fd84fc75341 (diff)
downloaddokka-9a074919f4c0258cf2bf0cb61238a6005844e20b.tar.gz
dokka-9a074919f4c0258cf2bf0cb61238a6005844e20b.tar.bz2
dokka-9a074919f4c0258cf2bf0cb61238a6005844e20b.zip
Inline `val newContent` in SourceSetMergingPageTransformer
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt b/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt
index 61e72abf..6cb7f603 100644
--- a/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt
+++ b/plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt
@@ -15,8 +15,7 @@ class SourceSetMergingPageTransformer(context: DokkaContext) : PageTransformer {
override fun invoke(input: RootPageNode): RootPageNode {
return input.transformContentPagesTree { contentPage ->
val content: ContentNode = contentPage.content
- val newContent = transformWithMergedSourceSets(content)
- contentPage.modified(content = newContent)
+ contentPage.modified(content = transformWithMergedSourceSets(content))
}
}