designwizard
designwizard copied to clipboard
Blocker Bug in FileUtil.java
return" statements should not occur in "finally" blocks.
This rule raises an issue when a jump statement (break, continue, return, throw, and goto) would force control flow to leave a finally block.
The finally block is always executed after everything else. It'll override the return statement present in 'try' or 'catch' blocks.
More information in 'Don't return in finally clause' and 'The Java Hall of #Shame'.