mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
add missing @Override annotation to item's toString
This commit is contained in:
parent
4891dcd3a2
commit
16b7b46653
@ -14,7 +14,8 @@ public class Item {
|
||||
this.quality = quality;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.name + ", " + this.sellIn + ", " + this.quality;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user