public void removeHistories(Collection<UpgradeHistoryEntity> upgradeHistoryEntity) {
    if (upgradeHistory != null) {
      upgradeHistory.removeAll(upgradeHistoryEntity);
    }
  }
Removes historical entries for a service component in this upgrade.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java