From 43450355b04f52d64da5b29cff3f8fca87445f5b Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Thu, 13 Aug 2020 16:24:24 +0200 Subject: Add tests and add projections to javadoc --- plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt') diff --git a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt index bed8386d..16598acd 100644 --- a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt +++ b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt @@ -186,10 +186,8 @@ class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLog c.supertypes.filter { it.key == sourceSet }.map { (s, typeConstructors) -> list(typeConstructors, prefix = " : ", sourceSets = setOf(s)) { link(it.typeConstructor.dri.sureClassNames, it.typeConstructor.dri, sourceSets = setOf(s)) - if ( it.typeConstructor.projections.isNotEmpty() ) { - list(it.typeConstructor.projections, prefix = "<", suffix = "> ") { - signatureForProjection(it) - } + list(it.typeConstructor.projections, prefix = "<", suffix = "> ") { + signatureForProjection(it) } } } -- cgit