transferFromPotEntryHeader(entryHeader, hEntryHeader,
from);
}
}
if (enabledExtensions.contains(SimpleComment.ID)) {
SimpleComment comment = extensions.findByType(SimpleComment.class);
if (comment != null) {
HSimpleComment hComment = to.getComment();
if (hComment == null) {
hComment = new HSimpleComment();
}
if (!equals(comment.getValue(), hComment.getComment())) {
changed = true;
hComment.setComment(comment.getValue());
to.setComment(hComment);
log.debug("set comment:{}", comment.getValue());
}
}
}
return changed;