File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
src/main/java/tools/jackson/databind/deser Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -766,14 +766,11 @@ public ValueDeserializer<?> createCollectionDeserializer(DeserializationContext
766766 ValueDeserializer <Object > contentDeser = (ValueDeserializer <Object >) contentType .getValueHandler ();
767767 final DeserializationConfig config = ctxt .getConfig ();
768768
769- TypeDeserializer contentTypeDeser = null ;
770- if (contentDeser == null ) {
771- // Then optional type info: if type has been resolved, we may already know type deserializer:
772- contentTypeDeser = (TypeDeserializer ) contentType .getTypeHandler ();
773- // but if not, may still be possible to find:
774- if (contentTypeDeser == null ) {
775- contentTypeDeser = ctxt .findTypeDeserializer (contentType );
776- }
769+ // Then optional type info: if type has been resolved, we may already know type deserializer:
770+ TypeDeserializer contentTypeDeser = (TypeDeserializer ) contentType .getTypeHandler ();
771+ // but if not, may still be possible to find:
772+ if (contentTypeDeser == null ) {
773+ contentTypeDeser = ctxt .findTypeDeserializer (contentType );
777774 }
778775
779776 // 23-Nov-2010, tatu: Custom deserializer?
You can’t perform that action at this time.
0 commit comments