Skip to content

Commit c201bee

Browse files
committed
Update ScalaAnnotationIntrospectorModule.scala
1 parent 0301f97 commit c201bee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/scala/com/fasterxml/jackson/module/scala/introspect/ScalaAnnotationIntrospectorModule.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.fasterxml.jackson.module.scala.introspect
22

33
import com.fasterxml.jackson.annotation.JsonCreator
4-
import com.fasterxml.jackson.databind.`type`.{ClassKey, ReferenceType, SimpleType}
4+
import com.fasterxml.jackson.databind.`type`.{ClassKey, CollectionLikeType, CollectionType, ReferenceType, SimpleType}
55
import com.fasterxml.jackson.databind.cfg.MapperConfig
66
import com.fasterxml.jackson.databind.deser.std.StdValueInstantiator
77
import com.fasterxml.jackson.databind.deser._
@@ -283,6 +283,7 @@ private case class WrappedCreatorProperty(creatorProperty: CreatorProperty, refC
283283
override def getType: JavaType = {
284284
super.getType match {
285285
case rt: ReferenceType => ReferenceType.upgradeFrom(rt, SimpleType.constructUnsafe(refClass))
286+
case ct: CollectionLikeType => CollectionLikeType.upgradeFrom(ct, SimpleType.constructUnsafe(refClass))
286287
case other => other
287288
}
288289
}

0 commit comments

Comments
 (0)