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:
Valentin Fondaratov
2015-03-22 18:15:22 +03:00
parent fe56d5d6d5
commit a06892d7f7
@@ -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", " ");
}