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

12 lines
315 B
HTML

<html>
<body>
Reports instantiations of <code>Thread</code> or an inheritor without specifying
a <code>Runnable</code> parameter or overriding the <code>run()</code> method.
Such threads do nothing useful.
<p><b>Example:</b></p>
<pre><code>
new Thread().start();
</code></pre>
<!-- tooltip end -->
</body>
</html>