aboutsummaryrefslogtreecommitdiff
path: root/MusicalElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'MusicalElement.java')
-rw-r--r--MusicalElement.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/MusicalElement.java b/MusicalElement.java
index 9dbb044..e748281 100644
--- a/MusicalElement.java
+++ b/MusicalElement.java
@@ -1,6 +1,6 @@
import java.io.Serializable;
-/** The MusicalElement contains the base of songs and audibooks.
+/** The MusicalElement contains the base of songs and audiobooks.
* It is the abstract class they will take.
* We use the classical get and set here.
* Get is used to return the said value.
@@ -15,7 +15,6 @@ public abstract class MusicalElement implements Serializable {
public MusicalElement(String title, int duration, String content) {
- this.setId(idCount++);
this.title=title;
this.duration=duration;
this.content=content;