List<Pool> existingPools = Arrays.asList(existingPool);
this.deleteExcessEntitlements(existingPools);
}
if (updatedPool.getDatesChanged() ||
updatedPool.getProductsChanged() ||
<BUG>updatedPool.getBrandingChanged()) {
List<String> entitlements = poolCurator
.retrieveFreeEntitlementIdsOfPool(existingPool, true);</BUG>
entitlementsToRegen.addAll(entitlements);
}

List<Pool> existingPools = Arrays.asList(existingPool);
this.deleteExcessEntitlements(existingPools);
}
if (updatedPool.getDatesChanged() ||
updatedPool.getProductsChanged() ||
updatedPool.getBrandingChanged()) {
List<String> entitlements = poolCurator.retrieveFreeEntitlementIdsOfPool(existingPool, true);
entitlementsToRegen.addAll(entitlements);
}
