From b7d980c2208baddca0c1837595545b46af1978f4 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:03:45 +0200 Subject: [PATCH] Rename tracks memoizer. --- src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java index 928eebc..d1a8769 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java @@ -185,7 +185,7 @@ public class DataManager { private class LazyArtist extends DefaultArtist { - private final Memoizer tracks = new Memoizer(new Callable() { + private final Memoizer tracksMemoizer = new Memoizer(new Callable() { public Void call() throws DatabaseException { if (!hasValue("tracks")) { value("tracks", Collection.class).set(getTracksByArtist(id())); @@ -199,7 +199,7 @@ public class DataManager { } public Collection tracks() { - tracks.get(); + tracksMemoizer.get(); return super.tracks(); } -- 2.7.4