1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Merge pull request #106 from andrewgaul/boolean-true

Prefer Boolean constants over Boolean.valueOf
This commit is contained in:
cketti 2011-11-27 15:56:08 -08:00
commit 969277f619

View File

@ -114,7 +114,7 @@ public class SettingsExporter {
XmlSerializer serializer = Xml.newSerializer();
serializer.setOutput(os, "UTF-8");
serializer.startDocument(null, Boolean.valueOf(true));
serializer.startDocument(null, Boolean.TRUE);
// Output with indentation
serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);