From 9a074919f4c0258cf2bf0cb61238a6005844e20b Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Mon, 17 Aug 2020 11:00:01 +0200 Subject: Inline `val newContent` in SourceSetMergingPageTransformer --- .../transformers/pages/merger/SourceSetMergingPageTransformer.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/base') 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)) } } -- cgit