Skip to content

Commit

Permalink
More trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipen committed Jan 9, 2025
1 parent 501d104 commit 0469837
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jacodb-ets/src/main/kotlin/org/jacodb/ets/dto/Convert.kt
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ fun TypeDto.toEtsType(): EtsType = when (this) {
StringTypeDto -> EtsStringType

is TupleTypeDto -> EtsTupleType(
types = types.map { it.toEtsType() }
types = types.map { it.toEtsType() },
)

is UnclearReferenceTypeDto -> EtsUnclearRefType(
Expand All @@ -620,7 +620,7 @@ fun TypeDto.toEtsType(): EtsType = when (this) {
UndefinedTypeDto -> EtsUndefinedType

is UnionTypeDto -> EtsUnionType(
types = types.map { it.toEtsType() }
types = types.map { it.toEtsType() },
)

UnknownTypeDto -> EtsUnknownType
Expand Down Expand Up @@ -691,7 +691,7 @@ fun FieldSignatureDto.toEtsFieldSignature(): EtsFieldSignature {
sub = EtsFieldSubSignature(
name = name,
type = type.toEtsType(),
)
),
)
}

Expand All @@ -704,7 +704,7 @@ fun MethodSignatureDto.toEtsMethodSignature(): EtsMethodSignature {
index = index,
name = param.name,
type = param.type.toEtsType(),
isOptional = param.isOptional
isOptional = param.isOptional,
)
},
returnType = returnType.toEtsType(),
Expand Down Expand Up @@ -753,7 +753,7 @@ fun FieldDto.toEtsField(): EtsField {
sub = EtsFieldSubSignature(
name = signature.name,
type = signature.type.toEtsType(),
)
),
),
modifiers = EtsModifiers(modifiers),
isOptional = isOptional,
Expand Down

0 comments on commit 0469837

Please sign in to comment.