mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 10:22:15 -05:00
Merge pull request #106 from andrewgaul/boolean-true
Prefer Boolean constants over Boolean.valueOf
This commit is contained in:
commit
969277f619
@ -114,7 +114,7 @@ public class SettingsExporter {
|
|||||||
XmlSerializer serializer = Xml.newSerializer();
|
XmlSerializer serializer = Xml.newSerializer();
|
||||||
serializer.setOutput(os, "UTF-8");
|
serializer.setOutput(os, "UTF-8");
|
||||||
|
|
||||||
serializer.startDocument(null, Boolean.valueOf(true));
|
serializer.startDocument(null, Boolean.TRUE);
|
||||||
|
|
||||||
// Output with indentation
|
// Output with indentation
|
||||||
serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
|
serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user