Skip to content

Commit 0eb7f08

Browse files
committed
Minor javadoc cleanup, DataTypeFeatures
1 parent 299fdf5 commit 0eb7f08

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

src/main/java/com/fasterxml/jackson/databind/cfg/EnumFeature.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
package com.fasterxml.jackson.databind.cfg;
22

3+
/**
4+
* New Datatype-specific configuration options related to handling of
5+
* {@link java.lang.Enum} types.
6+
*
7+
* @since 2.14
8+
*/
39
public enum EnumFeature implements DatatypeFeature
410
{
511
BOGUS_FEATURE(false);

src/main/java/com/fasterxml/jackson/databind/cfg/JsonNodeFeature.java

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package com.fasterxml.jackson.databind.cfg;
22

33
/**
4-
* New Datatype-specific features added in Jackson 2.14.
4+
* New Datatype-specific configuration options related to handling of
5+
* {@link com.fasterxml.jackson.databind.JsonNode} types.
56
*
67
* @since 2.14
78
*/
@@ -10,32 +11,30 @@ public enum JsonNodeFeature implements DatatypeFeature
1011
// // // Direct Read/Write configuration settings
1112

1213
/**
13-
* When reading {@code JsonNode}s are null valued properties included as explicit
14-
* {@code NullNode}s in resulting {@code ObjectNode} or skipped?
14+
* When reading {@link com.fasterxml.jackson.databind.JsonNode}s are null valued properties included as explicit
15+
* {@code NullNode}s in resulting {@link com.fasterxml.jackson.databind.node.ObjectNode}
16+
* or skipped?
1517
*<p>
1618
* Default value: {@code true}
1719
*/
1820
READ_NULL_PROPERTIES(true),
1921

2022
/**
2123
* When writing {@code JsonNode}s are null valued properties written as explicit
22-
* JSON {@code null}s ior skipped?
24+
* JSON {@code null}s or skipped?
2325
*<p>
2426
* Default value: {@code true}
2527
*/
2628
WRITE_NULL_PROPERTIES(true),
2729

2830
// // // Merge configuration settings
2931

30-
/**
31-
*
32-
*/
33-
ALLOW_ARRAY_MERGE(true),
32+
// // // 03-Aug-2022, tatu: Possible other additions:
33+
34+
// ALLOW_ARRAY_MERGE(true),
35+
36+
// ALLOW_OBJECT_MERGE(true),
3437

35-
/**
36-
*
37-
*/
38-
ALLOW_OBJECT_MERGE(true),
3938
;
4039

4140
private final static int FEATURE_INDEX = DatatypeFeatures.FEATURE_INDEX_JSON_NODE;

0 commit comments

Comments
 (0)