Program: 49257
Project: 49257
Buggy source:
/** 
 * Applies the changes from the given DTO to the specified entity
 * @param entity The entity to modify
 * @param update The DTO containing the modifications to apply
 * @param owner An owner to use for resolving entity references
 * @throws IllegalArgumentException if entity, update or owner is null
 * @return The updated product entity
 */
private Content applyContentChanges(Content entity,ContentData update,Owner owner){
  if (entity == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (update == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (owner == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (update.getType() != null) {
    entity.setType(update.getType());
  }
  if (update.getLabel() != null) {
    entity.setLabel(update.getLabel());
  }
  if (update.getName() != null) {
    entity.setName(update.getName());
  }
  if (update.getVendor() != null) {
    entity.setVendor(update.getVendor());
  }
  if (update.getContentUrl() != null) {
    entity.setContentUrl(update.getContentUrl());
  }
  if (update.getRequiredTags() != null) {
    entity.setRequiredTags(update.getRequiredTags());
  }
  if (update.getReleaseVersion() != null) {
    entity.setReleaseVer(update.getReleaseVersion());
  }
  if (update.getGpgUrl() != null) {
    entity.setGpgUrl(update.getGpgUrl());
  }
  if (update.getMetadataExpire() != null) {
    entity.setMetadataExpire(update.getMetadataExpire());
  }
  if (update.getModifiedProductIds() != null) {
    entity.setModifiedProductIds(update.getModifiedProductIds());
  }
  if (update.getArches() != null) {
    entity.setArches(update.getArches());
  }
  if (update.isLocked() != null) {
    entity.setLocked(update.isLocked());
  }
  return entity;
}

Fixed version (ground truth):
/** 
 * Applies the changes from the given DTO to the specified entity
 * @param entity The entity to modify
 * @param update The DTO containing the modifications to apply
 * @param owner An owner to use for resolving entity references
 * @throws IllegalArgumentException if entity, update or owner is null
 * @return The updated product entity
 */
private Content applyContentChanges(Content entity,ContentData update,Owner owner){
  if (entity == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (update == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (owner == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if (update.getType() != null) {
    entity.setType(update.getType());
  }
  if (update.getLabel() != null) {
    entity.setLabel(update.getLabel());
  }
  if (update.getName() != null) {
    entity.setName(update.getName());
  }
  if (update.getVendor() != null) {
    entity.setVendor(update.getVendor());
  }
  if (update.getContentUrl() != null) {
    entity.setContentUrl(update.getContentUrl());
  }
  if (update.getRequiredTags() != null) {
    entity.setRequiredTags(update.getRequiredTags());
  }
  if (update.getReleaseVersion() != null) {
    entity.setReleaseVersion(update.getReleaseVersion());
  }
  if (update.getGpgUrl() != null) {
    entity.setGpgUrl(update.getGpgUrl());
  }
  if (update.getMetadataExpire() != null) {
    entity.setMetadataExpire(update.getMetadataExpire());
  }
  if (update.getModifiedProductIds() != null) {
    entity.setModifiedProductIds(update.getModifiedProductIds());
  }
  if (update.getArches() != null) {
    entity.setArches(update.getArches());
  }
  if (update.isLocked() != null) {
    entity.setLocked(update.isLocked());
  }
  return entity;
}