This inspection reports
if
statements which can be simplified to single statements. For example:
if
(foo()) {
return true
}
else
{
return false
}
can be simplified to
return foo()
.