aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/main/kotlin/converters
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-09-09 15:01:28 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-09-10 13:11:02 +0200
commit3845e64c04fa5a7fc51370bbc55aa694697919cf (patch)
tree9e11c496e47659bc448eeb31752014e8f1fa77ea /plugins/kotlin-as-java/src/main/kotlin/converters
parent3792ef312ef347ef3300690e71c1cbf963a175e3 (diff)
downloaddokka-3845e64c04fa5a7fc51370bbc55aa694697919cf.tar.gz
dokka-3845e64c04fa5a7fc51370bbc55aa694697919cf.tar.bz2
dokka-3845e64c04fa5a7fc51370bbc55aa694697919cf.zip
Fix test
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/converters')
-rw-r--r--plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt
index 38d904e4..5a9f0855 100644
--- a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt
+++ b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt
@@ -175,7 +175,7 @@ internal fun DClass.asJava(): DClass = copy(
private fun DTypeParameter.asJava(): DTypeParameter = copy(
variantTypeParameter = variantTypeParameter.withDri(dri.possiblyAsJava()),
- bounds = bounds.map { it.asJava() as Bound }
+ bounds = bounds.map { it.asJava() }
)
private fun Projection.asJava(): Projection = when(this) {