product);
}
product.setLocked(true);
ProductData existingProduct = productMap.get(product.getId());
if (existingProduct != null && !existingProduct.equals(product)) {
<BUG>log.warn("WARNING: Multiple versions of the same product received during refresh; " +
"discarding duplicate: {} => {}, {}", product.getId(), existingProduct, product);</BUG>
}
else {
productMap.put(product.getId(), product);

product);
}
product.setLocked(true);
ProductData existingProduct = productMap.get(product.getId());
if (existingProduct != null && !existingProduct.equals(product)) {
log.warn("Multiple versions of the same product received during refresh; " +
"discarding duplicate: {} => {}, {}", product.getId(), existingProduct, product);
}
else {
productMap.put(product.getId(), product);
