From 95da20e3c07e33ba7fa0284b97051865381064a7 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Thu, 17 Sep 2020 17:42:19 +0300 Subject: [PATCH] Update toString method Signed-off-by: Pekka Helenius --- .../src/main/java/com/fjordtek/bookstore/model/Category.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java b/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java index 5817051..f520feb 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java @@ -77,7 +77,7 @@ public class Category { @Override public String toString() { - return "[" + "id: " + this.id + + return "[" + "id: " + this.id + ", " + "name: " + this.name + "]"; }