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
218
218
/**********************************************************
219
219
*/
220
220
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
-
238
221
@ Override
239
222
protected PrettyPrinter _constructDefaultPrettyPrinter () {
240
223
return new DefaultXmlPrettyPrinter ();
@@ -310,6 +293,9 @@ public ToXmlGenerator configure(Feature f, boolean state) {
310
293
return this ;
311
294
}
312
295
296
+ @ Override
297
+ public boolean canWriteFormattedNumbers () { return true ; }
298
+
313
299
/*
314
300
/**********************************************************
315
301
/* Extended API, access to some internal components
You can’t perform that action at this time.
0 commit comments