public void Execute(Item item) { if (ItemIsNotOrdinary(item)) { return; } _decreaseQuality.Execute(item); _decreaseSellIn.Execute(item); if (ItemIsToOld(item)) { _decreaseQuality.Execute(item); } }
public void Execute(Item item) { if (!item.IsConjured()) { return; } _decreaseQuality.Execute(item); _decreaseQuality.Execute(item); _decreaseSellIn.Execute(item); if (ItemIsNotTooOld(item)) { return; } _decreaseQuality.Execute(item); _decreaseQuality.Execute(item); }