Skip to content

Commit d1ff053

Browse files
committed
ktlintFormat
1 parent 87f8d03 commit d1ff053

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ internal class HighLevelRenderer(
5757
val propName = requireNotNull(propType.declaration.qualifiedName).asString()
5858

5959
// If the property OR any of its arguments reference the annotated type
60-
propName == name || propType.arguments.any { arg ->
61-
val argType = arg.type?.resolve()
62-
val argName = requireNotNull(argType?.declaration?.qualifiedName).asString()
63-
argName == name
64-
}
60+
propName == name ||
61+
propType.arguments.any { arg ->
62+
val argType = arg.type?.resolve()
63+
val argName = requireNotNull(argType?.declaration?.qualifiedName).asString()
64+
argName == name
65+
}
6566
}
6667
}
6768
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ internal class SchemaRenderer(
217217
Types.Kotlin.ULong -> MapperTypes.Values.Scalars.ULongConverter
218218

219219
else -> error("Unsupported attribute type $this")
220-
}
220+
},
221221
)
222222
}
223223
}

0 commit comments

Comments
 (0)