if (copyState == ContentState.Approved) {
hTarget.setReviewer(matchingTarget.getReviewer());
}
hTarget.setContents(matchingTarget.getContents());
hTarget.setState(copyState);
HSimpleComment hcomment = hTarget.getComment();
if (hcomment == null) {
hcomment = new HSimpleComment();
hTarget.setComment(hcomment);
}
hcomment.setComment(createComment(matchingTarget));
// TODO Maybe we should think about registering a Hibernate
// integrator for these updates
signalCopiedTranslation(hTarget, prevState);
}