Inspectopedia
 
2024.3

Call to 'Thread.run()'

Warning
New
Last modified: 03 December 2024

Reports calls to run() on java.lang.Thread or any of its subclasses.

While occasionally intended, this is usually a mistake, because run() doesn't start a new thread. To execute the code in a separate thread, start() should be used.