mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
replace != with lt;gt; because I was told it is more PL/SQL-ish
This commit is contained in:
parent
316476a258
commit
8aaf87ffad
@ -13,9 +13,9 @@ BEGIN
|
||||
l_sell_in := l_item.sell_in;
|
||||
l_quality := l_item.quality;
|
||||
|
||||
IF l_name != 'Aged Brie' AND l_name != 'Backstage passes to a TAFKAL80ETC concert' THEN
|
||||
IF l_name <> 'Aged Brie' AND l_name <> 'Backstage passes to a TAFKAL80ETC concert' THEN
|
||||
IF l_quality > 0 THEN
|
||||
IF l_name != 'Sulfuras, Hand of Ragnaros' THEN
|
||||
IF l_name <> 'Sulfuras, Hand of Ragnaros' THEN
|
||||
l_quality := l_quality - 1;
|
||||
END IF;
|
||||
END IF;
|
||||
@ -37,15 +37,15 @@ BEGIN
|
||||
END IF;
|
||||
END IF;
|
||||
|
||||
IF l_name != 'Sulfuras, Hand of Ragnaros' THEN
|
||||
IF l_name <> 'Sulfuras, Hand of Ragnaros' THEN
|
||||
l_sell_in := l_sell_in - 1;
|
||||
END IF;
|
||||
|
||||
IF l_sell_in < 0 THEN
|
||||
IF l_name != 'Aged Brie' THEN
|
||||
IF l_name != 'Backstage passes to a TAFKAL80ETC concert' THEN
|
||||
IF l_name <> 'Aged Brie' THEN
|
||||
IF l_name <> 'Backstage passes to a TAFKAL80ETC concert' THEN
|
||||
IF l_quality > 0 THEN
|
||||
IF l_name != 'Sulfuras, Hand of Ragnaros' THEN
|
||||
IF l_name <> 'Sulfuras, Hand of Ragnaros' THEN
|
||||
l_quality := l_quality - 1;
|
||||
END IF;
|
||||
END IF;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user