Skip to content

Commit bd3988d

Browse files
committed
Remove unnecessary null check
1 parent 78df5fc commit bd3988d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinAnnotationIntrospector.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ internal class KotlinAnnotationIntrospector(
107107
}
108108

109109
private fun AccessibleObject.isRequiredByAnnotation(): Boolean? = annotations
110-
?.firstOrNull { it.annotationClass == JsonProperty::class }
110+
.firstOrNull { it.annotationClass == JsonProperty::class }
111111
?.let { it as JsonProperty }
112112
?.required
113113

0 commit comments

Comments
 (0)