File tree 3 files changed +3
-2
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Contributors:
18
18
# 2 .17.0 (not yet released)
19
19
20
20
WrongWrong (@k163377 )
21
+ * #742 : Minor performance improvements to NullToEmptyCollection/Map.
21
22
* #741 : Changed to allow KotlinFeature to be set in the function that registers a KotlinModule.
22
23
* #740 : Reduce conversion cache from Executable to KFunction.
23
24
* #738 : Fix JacksonInject priority.
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Co-maintainers:
18
18
19
19
2.17 .0 (not yet released )
20
20
21
+ #742 : Minor performance improvements to NullToEmptyCollection /Map .
21
22
#741 : Changed to allow KotlinFeature to be set in the function that registers a KotlinModule.
22
23
The `jacksonObjectMapper {}` and `registerKotlinModule {}` lambdas allow configuration for KotlinModule .
23
24
#740 : Reduce conversion cache from Executable to KFunction.
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import com.fasterxml.jackson.databind.JavaType
8
8
import com.fasterxml.jackson.databind.deser.SettableBeanProperty
9
9
import com.fasterxml.jackson.databind.deser.ValueInstantiator
10
10
import com.fasterxml.jackson.databind.deser.ValueInstantiators
11
- import com.fasterxml.jackson.databind.deser.impl.NullsAsEmptyProvider
12
11
import com.fasterxml.jackson.databind.deser.impl.PropertyValueBuffer
13
12
import com.fasterxml.jackson.databind.deser.std.StdValueInstantiator
14
13
import java.lang.reflect.TypeVariable
@@ -89,7 +88,7 @@ internal class KotlinValueInstantiator(
89
88
90
89
if (paramVal == null ) {
91
90
if (propType.requireEmptyValue()) {
92
- paramVal = NullsAsEmptyProvider ( jsonProp.valueDeserializer).getNullValue (ctxt)
91
+ paramVal = jsonProp.valueDeserializer!! .getEmptyValue (ctxt)
93
92
} else {
94
93
val isMissingAndRequired = isMissing && jsonProp.isRequired
95
94
You can’t perform that action at this time.
0 commit comments