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