aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/main/kotlin/converters
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/converters')
-rw-r--r--plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt3
1 files changed, 1 insertions, 2 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 4bf75101..2d73786b 100644
--- a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt
+++ b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt
@@ -56,8 +56,7 @@ internal fun Package.asJava(): Package {
return copy(
functions = emptyList(),
properties = emptyList(),
- classlikes = classlikes.map { it.asJava() } + syntheticClasses,
- packages = packages.map { it.asJava() }
+ classlikes = classlikes.map { it.asJava() } + syntheticClasses
)
}