return incomingProvided;
}
private boolean checkForChangedProducts(Product incomingProduct, Set<Product> incomingProvided,
Pool existingPool, Set<Product> changedProducts) {
Product existingProduct = existingPool.getProduct();
<BUG>Set<Product> currentProvided = productCurator.getPoolProvidedProductsCached(existingPool.getId());
String pid = existingProduct.getId();</BUG>
boolean productsChanged =
(pid != null && !pid.equals(incomingProduct.getId())) ||
!currentProvided.equals(incomingProvided);

return incomingProvided;
}
private boolean checkForChangedProducts(Product incomingProduct, Set<Product> incomingProvided,
Pool existingPool, Set<Product> changedProducts) {
Product existingProduct = existingPool.getProduct();
Set<Product> currentProvided = productCurator.getPoolProvidedProductsCached(existingPool);
String pid = existingProduct.getId();
boolean productsChanged =
(pid != null && !pid.equals(incomingProduct.getId())) ||
!currentProvided.equals(incomingProvided);
