mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
rename
This commit is contained in:
1 parent
48b98d08c0
commit
da6f6ffd5b
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ class GildedRose {
|
||||
public void updateQuality() {
|
||||
for (Item item : items) {
|
||||
|
||||
if (item.isAgedBride()) {
|
||||
if (item.isAgedBrie()) {
|
||||
item.increaseQualityByOne();
|
||||
|
||||
item.decreaseSellInEachDay();
|
||||
|
||||
@@ -21,7 +21,7 @@ public class Item {
|
||||
return name.equals(BACKSTAGE_PASSES);
|
||||
}
|
||||
|
||||
public boolean isAgedBride() {
|
||||
public boolean isAgedBrie() {
|
||||
return name.equals(AGED_BRIE);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user