Remove unnecessary assignments to temporary variables
MODIFY
src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinNamesAnnotationIntrospector.kt
src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinNamesAnnotationIntrospector.kt
@@ -87,13 +87,11 @@ internal class KotlinNamesAnnotationIntrospector(val module: KotlinModule, val c
val isSingleStringConstructor = kConstructor.isPossibleSingleString(propertyNames)
- val implyCreatorAnnotation = isPrimaryConstructor
+ isPrimaryConstructor
&& !(anyConstructorHasJsonCreator || anyCompanionMethodIsJsonCreator)
&& areAllParametersValid
&& !isSingleStringConstructor
&& kClass !in ignoredClassesForImplyingJsonCreator
-
- implyCreatorAnnotation
} else {
false
}

Remove unnecessary assignments to temporary variables