diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-17 11:00:01 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-17 11:52:28 +0200 |
commit | 9a074919f4c0258cf2bf0cb61238a6005844e20b (patch) | |
tree | 40620b948481ed7d6d81c5494adf6eee2e3a04b6 /plugins/base/src | |
parent | ef1bb10aca292e14d8deb35694243fd84fc75341 (diff) | |
download | dokka-9a074919f4c0258cf2bf0cb61238a6005844e20b.tar.gz dokka-9a074919f4c0258cf2bf0cb61238a6005844e20b.tar.bz2 dokka-9a074919f4c0258cf2bf0cb61238a6005844e20b.zip |
Inline `val newContent` in SourceSetMergingPageTransformer
Diffstat (limited to 'plugins/base/src')
-rw-r--r-- | plugins/base/src/main/kotlin/transformers/pages/merger/SourceSetMergingPageTransformer.kt | 3 |
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)) } } |