From 00650831729195a0958521a10bf34c69f3585091 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 15 Oct 2010 16:12:03 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20access=20the=20Sone=20cache=20di?= =?utf8?q?rectly.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/core/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 3164484..03c036a 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -336,7 +336,7 @@ public class Core extends AbstractService { if (friendId == null) { break; } - Sone friendSone = soneCache.get(friendId); + Sone friendSone = getSone(friendId); String friendKey = configuration.getStringValue(friendPrefix + "/Key").getValue(null); String friendName = configuration.getStringValue(friendPrefix + "/Name").getValue(null); friendSone.setRequestUri(new FreenetURI(friendKey)).setName(friendName); -- 2.7.4