--- a/jdk/src/share/classes/java/util/prefs/XmlSupport.java Tue Jul 15 10:21:07 2014 -0700
+++ b/jdk/src/share/classes/java/util/prefs/XmlSupport.java Tue Jul 15 11:22:14 2014 -0700
@@ -262,7 +262,7 @@
try {
TransformerFactory tf = TransformerFactory.newInstance();
try {
- tf.setAttribute("indent-number", new Integer(2));
+ tf.setAttribute("indent-number", 2);
} catch (IllegalArgumentException iae) {
//Ignore the IAE. Should not fail the writeout even the
//transformer provider does not support "indent-number".