diff --git a/java-collections-maps-3/src/main/java/com/baeldung/map/identity/IdentityHashMapDemonstrator.java b/java-collections-maps-3/src/main/java/com/baeldung/map/identity/IdentityHashMapDemonstrator.java index faba9f60f8..3cbe09b93f 100644 --- a/java-collections-maps-3/src/main/java/com/baeldung/map/identity/IdentityHashMapDemonstrator.java +++ b/java-collections-maps-3/src/main/java/com/baeldung/map/identity/IdentityHashMapDemonstrator.java @@ -81,10 +81,7 @@ public class IdentityHashMapDemonstrator { @Override public String toString() { - return "Book{" + - "title='" + title + '\'' + - ", year=" + year + - '}'; + return "Book{title='" + title + "', year=" + year + "}"; } }