diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-03-03 19:59:14 +0100 |
---|---|---|
committer | Kamil Doległo <kamilok1965@users.noreply.github.com> | 2020-03-04 18:00:19 +0100 |
commit | 44cb921d69ca8bb6b2341df0532823d4e285be03 (patch) | |
tree | a32cadae89b158caad5bb23550b94ab858b03fe5 /plugins/kotlin-as-java/src/main/kotlin/JavaSignatureProvider.kt | |
parent | bcfd835f3670ab333e5255173cd40206e6cf3fde (diff) | |
download | dokka-44cb921d69ca8bb6b2341df0532823d4e285be03.tar.gz dokka-44cb921d69ca8bb6b2341df0532823d4e285be03.tar.bz2 dokka-44cb921d69ca8bb6b2341df0532823d4e285be03.zip |
Fix spacing in JavaSignatureProvider
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/JavaSignatureProvider.kt')
-rw-r--r-- | plugins/kotlin-as-java/src/main/kotlin/JavaSignatureProvider.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/JavaSignatureProvider.kt b/plugins/kotlin-as-java/src/main/kotlin/JavaSignatureProvider.kt index 6a6acf6d..2e3ec152 100644 --- a/plugins/kotlin-as-java/src/main/kotlin/JavaSignatureProvider.kt +++ b/plugins/kotlin-as-java/src/main/kotlin/JavaSignatureProvider.kt @@ -59,7 +59,7 @@ class JavaSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLogge } private fun signature(f: Function, platform: PlatformData) = contentBuilder.contentFor(f, ContentKind.Symbol) { - text(f.modifier.takeIf { it != WithAbstraction.Modifier.Empty }?.toString()?.toLowerCase().orEmpty()) + text(f.modifier.takeIf { it != WithAbstraction.Modifier.Empty }?.toString()?.toLowerCase().orEmpty() + " ") val returnType = f.type if (!f.isConstructor && returnType.constructorFqName != Unit::class.qualifiedName) { type(returnType) |