add missing @Override annotation to item's toString

This commit is contained in:
Peter Kofler 2014-04-13 13:40:22 +02:00
parent 4891dcd3a2
commit 16b7b46653

View File

@ -14,6 +14,7 @@ public class Item {
this.quality = quality; this.quality = quality;
} }
@Override
public String toString() { public String toString() {
return this.name + ", " + this.sellIn + ", " + this.quality; return this.name + ", " + this.sellIn + ", " + this.quality;
} }