ParamUtil.validateTags(tags, new HashSet<>(Sets.newHashSet(Tags.ACCEPTANCE.getTag(), Tags.PUBLISHED.getTag(), Tags.DELETED.getTag())));
Revision revision = new Revision(revisionName, revisionProviderId);
setRevisionTags(revision, tags);
recordService.addRevision(globalId, schema, version, revision);
recordService.insertRepresentationRevision(globalId, schema, revisionProviderId, revisionName, version, revision.getCreationTimeStamp());
<BUG>return Response.created(uriInfo.getAbsolutePath()).build();
</BUG>
}
private Revision setRevisionTags(Revision revision, Set<String> tags) {
if (tags == null || tags.isEmpty())

ParamUtil.validateTags(tags, new HashSet<>(Sets.newHashSet(Tags.ACCEPTANCE.getTag(), Tags.PUBLISHED.getTag(), Tags.DELETED.getTag())));
Revision revision = new Revision(revisionName, revisionProviderId);
setRevisionTags(revision, tags);
recordService.addRevision(globalId, schema, version, revision);
recordService.insertRepresentationRevision(globalId, schema, revisionProviderId, revisionName, version, revision.getCreationTimeStamp());
return Response.created(uriInfo.getAbsolutePath()).entity(revision).build();
}
private Revision setRevisionTags(Revision revision, Set<String> tags) {
if (tags == null || tags.isEmpty())
