chore: improving comments for better clarity

This commit is contained in:
pierre 2023-02-19 15:13:36 +01:00
parent e326caf567
commit c68e0b3dcd

View File

@ -15,7 +15,7 @@ class GildedRose {
continue; continue;
} }
// first if defnie what should decrease and what should increase // first we define what should increase and what should decrease
if (items[i].name.equals("Backstage passes to a TAFKAL80ETC concert") | if (items[i].name.equals("Backstage passes to a TAFKAL80ETC concert") |
items[i].name.equals("Aged Brie")) { items[i].name.equals("Aged Brie")) {
if (items[i].quality < 50) { if (items[i].quality < 50) {