From: David ‘Bombe’ Roden Date: Thu, 19 Apr 2012 14:03:45 +0000 (+0200) Subject: Rename tracks memoizer. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b7d980c2208baddca0c1837595545b46af1978f4;p=demoscenemusic.git Rename tracks memoizer. --- 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(); }