File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
src/main/java/com/fasterxml/jackson/dataformat/xml/ser Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -218,23 +218,6 @@ public void initGenerator() throws IOException
218218 /**********************************************************
219219 */
220220
221- /**
222- * Standard JSON indenter does not work well with XML, use
223- * default XML indenter instead.
224- *<p>
225- * !!! TODO: same as implementation in core 2.6; override may be
226- * removed from 2.8
227- */
228- @ Override
229- public final JsonGenerator useDefaultPrettyPrinter ()
230- {
231- // related to [dataformat-xml#136], need to verify:
232- if (_cfgPrettyPrinter != null ) {
233- return this ;
234- }
235- return setPrettyPrinter (_constructDefaultPrettyPrinter ());
236- }
237-
238221 @ Override
239222 protected PrettyPrinter _constructDefaultPrettyPrinter () {
240223 return new DefaultXmlPrettyPrinter ();
@@ -310,6 +293,9 @@ public ToXmlGenerator configure(Feature f, boolean state) {
310293 return this ;
311294 }
312295
296+ @ Override
297+ public boolean canWriteFormattedNumbers () { return true ; }
298+
313299 /*
314300 /**********************************************************
315301 /* Extended API, access to some internal components
You can’t perform that action at this time.
0 commit comments