This inspection reports any instances of
if
,
while
,
do
or
for
statements in Groovy code having empty bodies. While occasionally intended, this construction is confusing, and often the result of a typo.
Powered by InspectorGroovy