You thought this return wasn't necessary.  It is necessary, we're breaking out of the method early, before a whole lot of other work occurs.  So yes, it has to be here.  And I didn't want to reindent the rest of the method body into an else block just to avoid doing a return here.  That's a bigger patch, and possibly complicates reading the code worse than an early return does.