From: David ‘Bombe’ Roden Date: Thu, 19 Apr 2012 12:44:50 +0000 (+0200) Subject: Just create normal instances. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6b67d7d90a31de11c5c1e622b269022112f4fe02;p=demoscenemusic.git Just create normal instances. --- diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java index ba2f61e..214d0c4 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java @@ -94,31 +94,14 @@ public class DataManager { public void processResult(ResultSet resultSet) throws SQLException { String trackId = resultSet.getString("TRACKS.ID"); if ((track == null) || (!track.id().equals(trackId))) { - track = new AbstractTrack(trackId) { - - public void save() { - if (!dirty()) { - return; - } - } - }.name(resultSet.getString("TRACKS.NAME")).artists(new ArrayList()).styles(new HashSet