throw new IllegalStateException("content has already been created: " + contentData.getId());
}
Content entity = new Content(contentData.getId());
this.applyContentChanges(entity, contentData);
log.debug("Creating new content for org: {}, {}", entity, owner);
<BUG>List<Content> alternateVersions = this.contentCurator

.getContentByVersion(entity.getId(), entity.getEntityVersion())
.list();</BUG>
log.debug("Checking {} alternate content versions", alternateVersions.size());

throw new IllegalStateException("content has already been created: " + contentData.getId());
}
Content entity = new Content(contentData.getId());
this.applyContentChanges(entity, contentData);
log.debug("Creating new content for org: {}, {}", entity, owner);
List<Content> alternateVersions = this.ownerContentCurator.getContentByVersions(
owner, Collections.<String, Integer>singletonMap(entity.getId(), entity.getEntityVersion()))
.list();
log.debug("Checking {} alternate content versions", alternateVersions.size());
