aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2020-12-25 21:18:47 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2020-12-25 21:18:47 +0100
commit4b05d4c2be1b4a57b18ade39c5201ba64b468ffb (patch)
tree1e19bf0a61f790e88447f609aaa28b6ad6090c17
parent2bc237e9999f8086d236ce5671fa437d8529e731 (diff)
comment on Playlist
-rw-r--r--Playlist.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Playlist.java b/Playlist.java
index 0bf55fd..990aa26 100644
--- a/Playlist.java
+++ b/Playlist.java
@@ -16,7 +16,7 @@ public class Playlist implements Serializable {
}
public int getId(){return id;}
- public String getName(){return name.toUpperCase();}
+ public String getName(){return name.toUpperCase();} //using toUpperCase method because the way I sort by name sort he upper case then the lower case, which is inconvenient.
public ArrayList<Song> getSongs(){return songs;}
public ArrayList<AudioBook> getAudioBooks(){return audiobooks;}