Add base class, let all other containers extend the base class.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / data / Group.java
index 292eb21..d5b6972 100644 (file)
@@ -22,18 +22,13 @@ package net.pterodactylus.demoscenemusic.data;
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public class Group {
+public class Group extends Base {
 
-       private final String id;
        private String name;
        private String url;
 
        public Group(String id) {
-               this.id = id;
-       }
-
-       public String id() {
-               return id;
+               super(id);
        }
 
        public String name() {