- raise OSM::APIChangesetMissingError.new
- elsif user.id != changeset.user_id
- raise OSM::APIUserChangesetMismatchError.new
- elsif not changeset.is_open?
- raise OSM::APIChangesetAlreadyClosedError.new(changeset)
+ raise OSM::APIChangesetMissingError
+ elsif user.id != changeset.user_id
+ raise OSM::APIUserChangesetMismatchError
+ elsif !changeset.is_open?
+ raise OSM::APIChangesetAlreadyClosedError, changeset