Finish the construction of this change-set and make it available for publication into the repository. This also empties the record of change events and prepares to accept a new record.
Once a change set has been published, it may not be used again.
@param data the name-value pairs that may be associated with the set of changes; may be null or empty