Files
openide/java/java-impl/resources/inspectionDescriptions/RedundantArrayCreation.html
2025-02-05 04:43:28 +00:00

10 lines
325 B
HTML

<html>
<body>
Reports arrays that are created specifically to be passed as a varargs parameter.
<p>Example:</p>
<p><code>Arrays.asList(new String[]{"Hello", "world"})</code></p>
<p>The quick-fix replaces the array initializer with individual arguments:</p>
<p><code>Arrays.asList("Hello", "world")</code></p>
</body>
</html>