From 6b67d7d90a31de11c5c1e622b269022112f4fe02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 19 Apr 2012 14:44:50 +0200 Subject: [PATCH] Just create normal instances. --- .../demoscenemusic/data/DataManager.java | 37 +++------------------- 1 file changed, 5 insertions(+), 32 deletions(-) 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