Skip to content

Commit 3b68af3

Browse files
authored
Nit: Update Javadoc of READ_UNKNOWN_ENUM_VALUES_AS_NULL in DeserializationFeature.java (#3539)
1 parent 56fb5d3 commit 3b68af3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/fasterxml/jackson/databind/DeserializationFeature.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,10 @@ public enum DeserializationFeature implements ConfigFeature
406406
* Feature that allows unknown Enum values to be parsed as null values.
407407
* If disabled, unknown Enum values will throw exceptions.
408408
*<p>
409-
* Note that in some cases this will basically ignore unknown Enum values;
410-
* this is the keys for keys of {@link java.util.EnumMap} and values
411-
* of {@link java.util.EnumSet} (because nulls are not accepted in these
412-
* cases).
409+
* Note that in some cases this will in effect ignore unknown Enum values,
410+
* e.g. when the unknown values are used as keys of {@link java.util.EnumMap}
411+
* or values of {@link java.util.EnumSet}, given the current deserializer
412+
* implementation that ignores entries with null keys.
413413
*<p>
414414
* Feature is disabled by default.
415415
*

0 commit comments

Comments
 (0)