Skip to content

Commit 58953a1

Browse files
committed
remove unnecessary types
1 parent ee0e871 commit 58953a1

File tree

1 file changed

+2
-2
lines changed
  • hll/dynamodb-mapper/dynamodb-mapper-schema-codegen/src/main/kotlin/aws/sdk/kotlin/hll/dynamodbmapper/codegen/annotations/rendering

1 file changed

+2
-2
lines changed

hll/dynamodb-mapper/dynamodb-mapper-schema-codegen/src/main/kotlin/aws/sdk/kotlin/hll/dynamodbmapper/codegen/annotations/rendering/SchemaRenderer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ internal class SchemaRenderer(
6060
}
6161

6262
private val partitionKeyProp = properties.single { it.isPk }
63-
private val partitionKeyName: String = partitionKeyProp
63+
private val partitionKeyName = partitionKeyProp
6464
.getAnnotationsByType(DynamoDbAttribute::class)
6565
.singleOrNull()?.name ?: partitionKeyProp.name
6666

6767
private val sortKeyProp = properties.singleOrNull { it.isSk }
68-
private val sortKeyName: String? = sortKeyProp
68+
private val sortKeyName = sortKeyProp
6969
?.getAnnotationsByType(DynamoDbAttribute::class)
7070
?.singleOrNull()?.name ?: sortKeyProp?.name
7171

0 commit comments

Comments
 (0)