File tree 1 file changed +0
-14
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -86,20 +86,6 @@ internal class KotlinAnnotationIntrospector(
86
86
?.takeIf { it.wrapsNullable() }
87
87
?.let { cache.getValueClassBoxConverter(am.rawReturnType, it).delegatingSerializer }
88
88
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
-
103
89
/* *
104
90
* Subclasses can be detected automatically for sealed classes, since all possible subclasses are known
105
91
* 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