Files
2025-02-05 04:43:28 +00:00

15 lines
571 B
HTML

<html>
<body>
Reports expressions that are affected by autoboxing conversion (automatic wrapping of primitive values as objects).
Try not to use objects instead of primitives. It might significantly affect performance.
<p><b>Example:</b></p>
<pre><code>Integer x = 42;</code></pre>
<p>The quick-fix makes the conversion explicit:</p>
<pre><code>Integer x = Integer.valueOf(42);</code></pre>
<!-- tooltip end -->
<p>
<i>AutoBoxing</i> appeared in Java 5.
This inspection can help to downgrade for backward compatibility with earlier Java versions.
</p>
</body>
</html>