Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhaleby committed Feb 8, 2022
1 parent 3080372 commit 4317104
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -93,6 +93,8 @@ private ObjectMapperConfig(ObjectMapper defaultObjectMapper, ObjectMapperType de
Validate.notNull(gsonObjectMapperFactory, GsonObjectMapperFactory.class.getSimpleName() + " cannot be null");
Validate.notNull(jackson1ObjectMapperFactory, Jackson1ObjectMapperFactory.class.getSimpleName() + " cannot be null");
Validate.notNull(jackson2ObjectMapperFactory, Jackson2ObjectMapperFactory.class.getSimpleName() + " cannot be null");
// Note that we explicitly don't check if JakartaEEObjectMapperFactory or JAXBObjectMapperFactory is null here, since
// they are allowed to be null (they're optional).
this.defaultObjectMapperType = defaultObjectMapperType;
this.defaultObjectMapper = defaultObjectMapper;
this.gsonObjectMapperFactory = gsonObjectMapperFactory;
Expand Down

0 comments on commit 4317104

Please sign in to comment.