List<PoolUpdate> updatedPools = poolRules.updatePools(floatingPools, changedProducts);
regenerateCertificatesByEntIds(processPoolUpdates(poolEvents, updatedPools), lazy);
}
@Override
public List<Pool> createAndEnrichPools(Subscription sub) {
<BUG>return createAndEnrichPools(sub, new LinkedList<Pool>());
}</BUG>
public List<Pool> createAndEnrichPools(Subscription sub, List<Pool> existingPools) {
List<Pool> pools = poolRules.createAndEnrichPools(sub, existingPools);
<BUG>log.debug("Creating {} pools for subscription: ", pools.size());
</BUG>
for (Pool pool : pools) {

List<PoolUpdate> updatedPools = poolRules.updatePools(floatingPools, changedProducts);
regenerateCertificatesByEntIds(processPoolUpdates(poolEvents, updatedPools), lazy);
}
@Override
public List<Pool> createAndEnrichPools(Subscription sub) {
return createAndEnrichPools(sub, Collections.<Pool>emptyList());
}
public List<Pool> createAndEnrichPools(Subscription sub, List<Pool> existingPools) {
List<Pool> pools = poolRules.createAndEnrichPools(sub, existingPools);
log.debug("Creating {} pools for subscription: {}", pools.size(), sub);
for (Pool pool : pools) {
