From ea75134160618549a68b37c05d491e319cce99c7 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Tue, 29 Dec 2020 00:28:01 +0100 Subject: toString global update The display of a print of each class was too ugly, just added a \n to make it more easier to teel the difference between each element. --- AudioBook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AudioBook.java') diff --git a/AudioBook.java b/AudioBook.java index a4888bf..1540e96 100644 --- a/AudioBook.java +++ b/AudioBook.java @@ -112,7 +112,7 @@ public class AudioBook extends MusicalElement { * @author Aimeric ADJUTOR * */ public String toString() { - return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nAuthor : "+getAuthor()+"\nLanguage : "+getLanguage()+"\nCategory : "+getCategory(); + return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nAuthor : "+getAuthor()+"\nLanguage : "+getLanguage()+"\nCategory : "+getCategory()+"\n"; } } -- cgit v1.2.3