Rename tracks memoizer.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 14:03:45 +0000 (16:03 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 14:03:45 +0000 (16:03 +0200)
src/main/java/net/pterodactylus/demoscenemusic/data/DataManager.java

index 928eebc..d1a8769 100644 (file)
@@ -185,7 +185,7 @@ public class DataManager {
 
        private class LazyArtist extends DefaultArtist {
 
-               private final Memoizer<Void> tracks = new Memoizer<Void>(new Callable<Void>() {
+               private final Memoizer<Void> tracksMemoizer = new Memoizer<Void>(new Callable<Void>() {
                        public Void call() throws DatabaseException {
                                if (!hasValue("tracks")) {
                                        value("tracks", Collection.class).set(getTracksByArtist(id()));
@@ -199,7 +199,7 @@ public class DataManager {
                }
 
                public Collection<Track> tracks() {
-                       tracks.get();
+                       tracksMemoizer.get();
                        return super.tracks();
                }