for (PropertyId id: refs.getReferences()) { if (!state.hasNode(id.getParentId())) { throw new ActivityViolationException("Unable to checkout. " + "Activity is already used for the same node in " + "another workspace."); throw new ActivityViolationException("Unable to checkout. " + "Activity is used by another version on a different branch: " + version.getName());
for (PropertyId id: refs.getReferences()) { if (!state.hasNode(id.getParentId())) { throw new ActivityViolationException("Unable to checkout. " + "Activity is already used for the same node in " + "another workspace."); throw new ActivityViolationException("Unable to checkout. " + "Activity is used by another version on a different branch: " + version.getName());