add missing @Override annotation to item's toString

This commit is contained in:
Peter Kofler committed 2014-04-13 13:40:22 +02:00
1 parent 4891dcd3a2
commit 16b7b46653
1 file changed
+2 -1
+2 -1
View File
@@ -14,7 +14,8 @@ public class Item {
this.quality = quality;
}
public String toString() {
@Override
public String toString() {
return this.name + ", " + this.sellIn + ", " + this.quality;
}
}