Remove URL from group.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 31 Jul 2012 04:44:01 +0000 (06:44 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 31 Jul 2012 04:44:01 +0000 (06:44 +0200)
src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java
src/main/java/net/pterodactylus/demoscenemusic/data/DefaultGroup.java
src/main/java/net/pterodactylus/demoscenemusic/data/Group.java

index 4d2a318..f06a48b 100644 (file)
@@ -1096,7 +1096,7 @@ public class DataManager {
                 */
                @Override
                public Group createObject(ResultSet resultSet) throws SQLException {
-                       return new LazyGroup(resultSet.getString("GROUPS.ID")).setName(resultSet.getString("GROUPS.NAME")).setUrl(resultSet.getString("GROUPS.URL"));
+                       return new LazyGroup(resultSet.getString("GROUPS.ID")).setName(resultSet.getString("GROUPS.NAME"));
                }
 
        }
index 16c1c76..407a425 100644 (file)
@@ -61,23 +61,6 @@ public class DefaultGroup extends DefaultBase implements Group {
         * {@inheritDoc}
         */
        @Override
-       public String getUrl() {
-               return getValue("url", String.class).get();
-       }
-
-       /**
-        * {@inheritDoc}
-        */
-       @Override
-       public Group setUrl(String url) {
-               getValue("url", String.class).set(url);
-               return this;
-       }
-
-       /**
-        * {@inheritDoc}
-        */
-       @Override
        @SuppressWarnings("unchecked")
        public Collection<Artist> getArtists() {
                return getValue("artists", Collection.class).get();
index 054b303..9c86181 100644 (file)
@@ -43,22 +43,6 @@ public interface Group extends Base {
        public Group setName(String name);
 
        /**
-        * Returns the URL of this group’s website.
-        *
-        * @return The URL of this group’s website
-        */
-       public String getUrl();
-
-       /**
-        * Sets the URL of this group’s website.
-        *
-        * @param url
-        *            The URL of this group’s website
-        * @return This group
-        */
-       public Group setUrl(String url);
-
-       /**
         * Returns all artists belonging to this group.
         *
         * @return All artists belonging to this group