From fb6621f7a25478c3e31a7485397371cbb63c2db8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 16 Oct 2010 04:59:22 +0200 Subject: [PATCH] Add Sones to cache, too. --- src/main/java/net/pterodactylus/sone/core/Core.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index c910799..ccd5aff 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -226,6 +226,7 @@ public class Core extends AbstractService { * The Sone to watch for updates */ public void addSone(Sone sone) { + soneCache.put(sone.getId(), sone); soneDownloader.addSone(sone); } -- 2.7.4