SONARJAVA-230 Methods should not contain too many return statements