Why do the Java tutorials construct Booleans explicitly?
<p>For e.g, </p>

<pre><code>marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT,
   new Boolean(true));
</code></pre>

<p><a href="http://java.sun.com/developer/technicalArticles/WebServices/jaxb/#binsch" rel="nofollow">JAXB Tutorial</a></p>
