Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f87d317

Browse files
fixed toString in Category.java
1 parent ff0ac67 commit f87d317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/main/java/com/example/randombook/category/Category.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public String getName() {
2121
@Override
2222
public String toString() {
2323
return "Category{" +
24-
"id=" + getId() +
25-
", name='" + getName() + "'" +
24+
"id=" + id +
25+
", name='" + name + '\'' +
2626
'}';
2727
}
2828

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /