File tree 3 files changed +10
-15
lines changed
src/main/kotlin/tools/jackson/module/kotlin
3 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ Authors:
15
15
16
16
Contributors :
17
17
18
- # 2 .17.0 (not yet released)
18
+ # 2 .17.1 (not yet released)
19
+
20
+ WrongWrong (@k163377 )
21
+ * #776 : Delete Duration conversion that was no longer needed
22
+
23
+ # 2 .17.0
19
24
20
25
WrongWrong (@k163377 )
21
26
* #768 : Added value class deserialization support.
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ Co-maintainers:
16
16
= == Releases == =
17
17
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
18
18
19
+ 2.17 .1 (not yet released )
20
+
21
+ #776 : Delete Duration conversion that was no longer needed .
22
+
19
23
2.17 .0 (12 - Mar - 2024 )
20
24
21
25
#768 : Added value class deserialization support .
Original file line number Diff line number Diff line change @@ -90,20 +90,6 @@ internal class KotlinAnnotationIntrospector(
90
90
?.takeIf { it.wrapsNullable() }
91
91
?.let { cache.getValueClassBoxConverter(am.rawReturnType, it).delegatingSerializer }
92
92
93
- override fun findDeserializationConverter (config : MapperConfig <* >, a : Annotated ): Any? {
94
- if (! useJavaDurationConversion) return null
95
-
96
- return (a as ? AnnotatedParameter )?.let { param ->
97
- val valueParameter = cache.findKotlinParameter(param) ? : return @let null
98
-
99
- if (valueParameter.type.classifier == Duration ::class ) {
100
- JavaToKotlinDurationConverter
101
- } else {
102
- null
103
- }
104
- }
105
- }
106
-
107
93
/* *
108
94
* Subclasses can be detected automatically for sealed classes, since all possible subclasses are known
109
95
* at compile-time to Kotlin. This makes [com.fasterxml.jackson.annotation.JsonSubTypes] redundant.
You can’t perform that action at this time.
0 commit comments