Method with return type 'void' may have no return statement.