Unnecessary 'return' statement
return statements at the end of constructors and methods returning
void. These statements are redundant and may be safely removed.
This inspection does not report in JSP files.
After the quick-fix is applied:
Use the Ignore in then branch of 'if' statement with 'else' branch option to ignore
return statements in the then branch of
if statements which also have an
Ignore in then branch of 'if' statement with 'else' branch
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3