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

14 lines
400 B
HTML

<html>
<body>
Reports calls to non-generic-array manipulation methods like <code>Arrays.fill()</code> with mismatched argument types.
Such calls don't do anything useful and are likely to be mistakes.
<p><b>Example:</b></p>
<pre><code>
int foo(String[] strings) {
return Arrays.binarySearch(strings, 1);
}
</code></pre>
<!-- tooltip end -->
<p><small>New in 2017.2</small></p>
</body>
</html>