There is an inspection called "Method with multiple return points". This is already good, but it would be better to have a quickfix or indended action to convert this into 1 return value. Example:
There is an inspection called "Method with multiple return points". This is already good, but it would be better to have a quickfix or indended action to convert this into 1 return value. Example: