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

11 lines
387 B
HTML

<html>
<body>
Reports code on which an unchecked warning will be issued by the javac compiler.
Every unchecked warning may potentially trigger <code>ClassCastException</code> at runtime.
<p>Example:</p>
<pre><code>
List items = Arrays.asList("string", "string");
List&lt;Integer&gt; numbers = Collections.unmodifiableList(items); // unchecked assignment
</code></pre>
</body>
</html>