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,7 +14,8 @@ public class Item {
this.quality = quality; this.quality = quality;
} }
public String toString() { @Override
public String toString() {
return this.name + ", " + this.sellIn + ", " + this.quality; return this.name + ", " + this.sellIn + ", " + this.quality;
} }
} }