mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
RUBY-16392: Fix console history serialization in RubyMine;
This resolves unwanted xpp libraries' conflicts by setting the needed implementation explicitly
This commit is contained in:
@@ -513,7 +513,7 @@ public class ConsoleHistoryController {
|
||||
OutputStream os = null;
|
||||
try {
|
||||
os = new SafeFileOutputStream(file);
|
||||
XmlSerializer serializer = XmlPullParserFactory.newInstance().newSerializer();
|
||||
XmlSerializer serializer = XmlPullParserFactory.newInstance("org.xmlpull.mxp1.MXParserFactory", null).newSerializer();
|
||||
try {
|
||||
serializer.setProperty("http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user