From 6b446b6bae2ac8a33be613c7fc4d34506607f63a Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Thu, 9 Jul 2020 14:03:16 +0200 Subject: Minor style fixes for gfm signatures --- plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/base') diff --git a/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt b/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt index ebfcf864..75fbb187 100644 --- a/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/DefaultRenderer.kt @@ -175,7 +175,7 @@ abstract class DefaultRenderer( pageContext: ContentPage, beforeTransformer: (ContentDivergentInstance, ContentPage, DokkaSourceSet) -> String, afterTransformer: (ContentDivergentInstance, ContentPage, DokkaSourceSet) -> String - ): Map> = + ): Map> = children.flatMap { instance -> instance.sourceSets.map { sourceSet -> Pair(instance, sourceSet) to Pair( @@ -184,12 +184,12 @@ abstract class DefaultRenderer( ) } }.groupBy( - Pair, Pair>::second, - Pair, Pair>::first + Pair::second, + Pair::first ) } -internal typealias SerializedInstanceWithSource = Pair +internal typealias SerializedBeforeAndAfter = Pair internal typealias InstanceWithSource = Pair fun ContentPage.sourceSets() = this.content.sourceSets \ No newline at end of file -- cgit