Query module EmptyRunMethodInThread

name
Useless run() method in thread
description
Thread instances that neither get an argument of type ‘Runnable’ passed to their constructor nor override the ‘Thread.run’ method are likely to have no effect.
kind
problem
problem.severity
warning
precision
low
id
java/empty-run-method-in-thread
tags
reliability correctness concurrency

Imports

java

Provides all default Java QL imports.

Classes