File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
src/main/java/tools/jackson/dataformat/xml Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ public enum XmlWriteFeature implements FormatFeature
3737 * it will not.
3838 *<p>
3939 * Feature is disabled by default for backwards compatibility.
40- *
41- * @since 2.10
4240 */
4341 WRITE_NULLS_AS_XSI_NIL (false ),
4442
@@ -53,12 +51,10 @@ public enum XmlWriteFeature implements FormatFeature
5351 * root element name is determined using normal logic (either explicitly
5452 * configured, or {@code ObjectNode} otherwise).
5553 *<p>
56- * Default setting is {@code disabled} in Jackson 2.x, for backwards compatibility:
57- * likely to be changed in 3.0 to {@code enabled}.
58- *
59- * @since 2.13
54+ * Default setting is {@code true} (enabled) in Jackson 3.0:
55+ * it was {@code false} in Jackson 2.x.
6056 */
61- UNWRAP_ROOT_OBJECT_NODE (false ),
57+ UNWRAP_ROOT_OBJECT_NODE (true ),
6258
6359 /**
6460 * Feature that enables automatic conversion of logical property
@@ -68,8 +64,6 @@ public enum XmlWriteFeature implements FormatFeature
6864 * and output is indicated to be done as XML Attribute.
6965 * This is mostly desirable for Polymorphic handling where it is difficult
7066 * to specify XML Namespace for type identifier
71- *
72- * @since 2.17
7367 */
7468 AUTO_DETECT_XSI_TYPE (false ),
7569
You can’t perform that action at this time.
0 commit comments