Skip to content

Commit 275446d

Browse files
committedFeb 27, 2025·
Address Detekt warning
1 parent e84ed95 commit 275446d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎java/src/main/kotlin/io/spine/validation/java/RequiredFieldGenerator.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ internal class RequiredFieldGenerator(
9898

9999
private fun violation(fieldPath: Expression<FieldPath>): Expression<ConstraintViolation> {
100100
val placeholders = supportedPlaceholders(fieldPath)
101-
val errorMessage = templateString(view.errorMessage, placeholders, IF_MISSING, field.qualifiedName)
101+
val errorMessage =
102+
templateString(view.errorMessage, placeholders, IF_MISSING, field.qualifiedName)
102103
return constraintViolation(errorMessage, declaringType, fieldPath, fieldValue = null)
103104
}
104105

0 commit comments

Comments
 (0)
Please sign in to comment.