Skip to content

Commit

Permalink
Minor javadoc improvement wrt #3110
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 7, 2021
1 parent bbf650f commit 2a7600a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -1043,8 +1043,14 @@ public ObjectMapper registerModules(Iterable<? extends Module> modules)

/**
* The set of {@link Module} typeIds that are registered in this
* ObjectMapper. By default the typeId for a module is it's full
* class name (see {@link Module#getTypeId()}).
* ObjectMapper, if (and only if!)
* {@link MapperFeature#IGNORE_DUPLICATE_MODULE_REGISTRATIONS}
* is enabled AND module being added returns non-{@null} value
* for its {@link Module#getTypeId()}.
*<p>
* NOTE: when using the default {@link com.fasterxml.jackson.databind.module.SimpleModule}
* constructor, its id is specified as {@code null} and as a consequence such
* module is NOT included in returned set.
*
* @since 2.9.6
*/
Expand Down

0 comments on commit 2a7600a

Please sign in to comment.