Prefer Boolean constants over Boolean.valueOf
This commit is contained in:
parent
f7d0f6090b
commit
368bac851b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue