@@ -111,7 +111,7 @@ public enum Feature implements FormatFeature // since 2.9
111
111
* Feature enabling of which adds indentation for array entry generation
112
112
* (default indentation being 2 spaces).
113
113
*<p>
114
- * Default value is ` false` for backwards compatibility
114
+ * Default value is {@code false} for backwards compatibility
115
115
*
116
116
* @since 2.9
117
117
*/
@@ -120,9 +120,9 @@ public enum Feature implements FormatFeature // since 2.9
120
120
* Feature enabling of which adds indentation with indicator for array entry generation
121
121
* (default indentation being 2 spaces).
122
122
*<p>
123
- * Default value is ` false` for backwards compatibility
123
+ * Default value is {@code false} for backwards compatibility
124
124
*
125
- * @since 2.12.0
125
+ * @since 2.12
126
126
*/
127
127
INDENT_ARRAYS_WITH_INDICATOR (false ),
128
128
@@ -131,7 +131,7 @@ public enum Feature implements FormatFeature // since 2.9
131
131
* serialization should be same as what the default is for current platform.
132
132
* If disabled, Unix linefeed ({@code \n}) will be used.
133
133
* <p>
134
- * Default value is ` false` for backwards compatibility.
134
+ * Default value is {@code false} for backwards compatibility.
135
135
*
136
136
* @since 2.9.6
137
137
*/
@@ -300,6 +300,7 @@ protected DumperOptions buildDumperOptions(int jsonFeatures, int yamlFeatures,
300
300
opt .setIndicatorIndent (1 );
301
301
opt .setIndent (2 );
302
302
}
303
+ // [dataformats-text#175]: further configurability that overrides prev setting
303
304
if (Feature .INDENT_ARRAYS_WITH_INDICATOR .enabledIn (_formatFeatures )) {
304
305
opt .setIndicatorIndent (2 );
305
306
opt .setIndentWithIndicator (true );
0 commit comments