aboutsummaryrefslogtreecommitdiff
path: root/Song.java
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2020-12-29 00:28:01 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2020-12-29 00:28:01 +0100
commitea75134160618549a68b37c05d491e319cce99c7 (patch)
tree2a13d5f4efef34400d99974a26f3db83d772a105 /Song.java
parentd9e2c4bb66e73cc83ee1e21186d851866c46dacd (diff)
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.
Diffstat (limited to 'Song.java')
-rw-r--r--Song.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Song.java b/Song.java
index a476d2c..edcdfc4 100644
--- a/Song.java
+++ b/Song.java
@@ -89,6 +89,6 @@ public class Song extends MusicalElement{
* @author Aimeric ADJUTOR
* */
public String toString() {
- return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nArtist : "+getArtist()+"\nGenre : "+getGenre();
+ return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nArtist : "+getArtist()+"\nGenre : "+getGenre()+"\n";
}
}