Inspectopedia Help

Instantiating a 'Thread' with default 'run()' method

Reports instantiations of Thread or an inheritor without specifying a Runnable parameter or overriding the run() method. Such threads do nothing useful.

Example:

new Thread().start();

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023