This inspection reports instances of Groovy if statements which can be simplified to single assignment or
return statements. For example:
if(foo()) { return true; } else { return false; }can be simplified to return foo(); |
Powered by InspectorGroovy |