From 0628c1f427c2abf3d840e9fd0b8f6ce48bce9706 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 19 Apr 2012 16:31:40 +0200 Subject: [PATCH] Use lazy group creator. --- src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java index 374bb6c..d8b9d62 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java @@ -128,7 +128,7 @@ public class DataManager { query.addField(new Field("GROUPS.*")); query.addJoin(new Join(JoinType.INNER, "GROUP_ARTISTS", new Field("GROUPS.ID"), new Field("GROUP_ARTISTS.GROUP_"))); query.addWhereClause(new ValueFieldWhereClause(new ValueField("GROUP_ARTISTS.ARTIST", new StringParameter(artistId)))); - return database.getMultiple(query, DefaultGroup.CREATOR); + return database.getMultiple(query, groupCreator); } private class TrackLoader implements ResultProcessor { -- 2.7.4