}
}
if (found) break;
}
Deployment entity1 = null;
Sprint entity2 = null;
Collection<ItemImplementation> entityColl2 = null;
for (AbstractEntity entity : sprints) {
if (entity.getId() != null && (newParent).getId() != null &&
entity.getId().longValue() == (newParent).getId().longValue()) {
entity2 = (Sprint)entity;
entityColl2 = entity2.getItemImplementation();
break;
}
}
for (AbstractEntity entity : productsDeployments) {
if (entity.getId() != null && oldParent.getId() != null &&
entity.getId().longValue() == oldParent.getId().longValue()) {
entity1 = (Deployment)entity;
entityColl = entity1.getItems();
for ( Item i : ((Deployment)entity).getItems() ) {
if (i.getId() != null && item.getId() != null &&
i.getId().longValue() == item.getId().longValue()) {
domainItemI = i.getUncommittedItemImplementation();
if (domainItemI == null || domainItemI.getId() == null) {