1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-31 15:20:09 -05:00

Prefer Boolean constants over Boolean.valueOf

This commit is contained in:
Andrew Gaul 2011-11-27 15:10:58 -08:00
parent f7d0f6090b
commit 368bac851b

View File

@ -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);