imo, when discussion what is correct, we should not consider what IDEs will do. And actually, this hole return statement should be removed. It does not make sense at all.