Refactoring methods with multiple exit points
Answered
trying the new intention "Transform body to single exit-point form" on this method:

This is the result after applying inspection rule:

I think it would have been better refactored to this:

Other then that, the empty line after "if (finished) {" should be probably removed
Awesome feature btw..
Please sign in to leave a comment.
Hello Mauro,
Feel free to create feature request on YouTrack: http://youtrack.jetbrains.com/issues/IDEA.
So developers and other users could discuss it.