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

15 lines
338 B
HTML

<html>
<body>
Reports arrays whose contents are read but not updated,
or updated but not read. Such inconsistent reads and writes are pointless and probably indicate
dead, incomplete or erroneous code.
<!-- tooltip end -->
<p><b>Example:</b></p>
<pre><code>
final int[] bar = new int[3];
bar[2] = 3;
</code></pre>
<p>
</body>
</html>