From 368bac851b425c61eee3e64bab8740e90770bf28 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sun, 27 Nov 2011 15:10:58 -0800 Subject: [PATCH] Prefer Boolean constants over Boolean.valueOf --- src/com/fsck/k9/preferences/SettingsExporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/preferences/SettingsExporter.java b/src/com/fsck/k9/preferences/SettingsExporter.java index cabc8cdf2..3edc96bf3 100644 --- a/src/com/fsck/k9/preferences/SettingsExporter.java +++ b/src/com/fsck/k9/preferences/SettingsExporter.java @@ -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);