jackson-dataformat-xml
jackson-dataformat-xml copied to clipboard
XmlMapper is adding a new empty line at the end of file
XmlMapper, when using writerWithDefaultPrettyPrinter
and writing value to a new fle is adding an empty line at the end of the file.
This is not happening when using writeValueAsString