File tree Expand file tree Collapse file tree 3 files changed +10
-15
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 3 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ Authors:
1515
1616Contributors :
1717
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
1924
2025WrongWrong (@k163377 )
2126* #768 : Added value class deserialization support.
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ Co-maintainers:
1616= == Releases == =
1717-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
1818
19+ 2.17 .1 (not yet released )
20+
21+ #776 : Delete Duration conversion that was no longer needed .
22+
19232.17 .0 (12 - Mar - 2024 )
2024
2125#768 : Added value class deserialization support .
Original file line number Diff line number Diff line change @@ -86,20 +86,6 @@ internal class KotlinAnnotationIntrospector(
8686 ?.takeIf { it.wrapsNullable() }
8787 ?.let { cache.getValueClassBoxConverter(am.rawReturnType, it).delegatingSerializer }
8888
89- override fun findDeserializationConverter (a : Annotated ): Any? {
90- if (! useJavaDurationConversion) return null
91-
92- return (a as ? AnnotatedParameter )?.let { param ->
93- val valueParameter = cache.findKotlinParameter(param) ? : return @let null
94-
95- if (valueParameter.type.classifier == Duration ::class ) {
96- JavaToKotlinDurationConverter
97- } else {
98- null
99- }
100- }
101- }
102-
10389 /* *
10490 * Subclasses can be detected automatically for sealed classes, since all possible subclasses are known
10591 * 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