Skip to content

Commit 12310a3

Browse files
committed
small refactorings
1 parent 723655b commit 12310a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/symbol-processor/src/main/kotlin/org/jetbrains/dataframe/ksp/ExtensionsGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class ExtensionsGenerator(
121121
declaration = dataSchema,
122122
interfaceName = dataSchema.getQualifiedNameOrThrow(),
123123
visibility = getMarkerVisibility(dataSchema),
124-
properties.map { property ->
124+
properties = properties.map { property ->
125125
Property(getColumnName(property), property.simpleName.asString(), property.type)
126126
}
127127
)

plugins/symbol-processor/src/main/kotlin/org/jetbrains/dataframe/ksp/PropertyRenderer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ internal fun renderExtensions(
4848
qualifiedTypeReference == "kotlin.collections.List" && type.singleTypeArgumentIsDataSchema() ||
4949
qualifiedTypeReference == DataFrameNames.DATA_FRAME ->
5050
FieldType.FrameFieldType(
51-
type.renderTypeArguments(),
52-
type.isMarkedNullable
51+
markerName = type.renderTypeArguments(),
52+
nullable = type.isMarkedNullable,
5353
)
5454

5555
type.declaration.isAnnotationPresent(DataSchema::class) -> FieldType.GroupFieldType(type.render())

0 commit comments

Comments
 (0)