Skip to content

Commit f179ba4

Browse files
committed
clean up
1 parent ecdcd72 commit f179ba4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/writer/java/BeanValidationSupportedTypes.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class BeanValidationSupportedTypes(additionalSupportedTypes: SupportedTypes = ma
2323
}
2424

2525
fun supports(annotationType: String, targetDataType: DataType): Boolean {
26-
val targets = supported[annotationType]
26+
val targets: Set<SupportedType>? = supported[annotationType]
2727
if (targets == null) {
2828
return false
2929
}

0 commit comments

Comments
 (0)