From 40058abe80bf8a55b5c5eb6594b87d98bef8d0ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 30 Oct 2010 01:30:08 +0200 Subject: [PATCH] Use cached values. --- src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java b/src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java index 74b5f6a..ecb8f25 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java @@ -67,7 +67,7 @@ public class OwnIdentity extends Identity { * The context to add */ public void addContext(String context) { - if (contexts.add(context)) { + if (getContexts().add(context)) { /* TODO - add. */ } } @@ -79,7 +79,7 @@ public class OwnIdentity extends Identity { * The context to remove */ public void removeContext(String context) { - if (contexts.remove(context)) { + if (getContexts().remove(context)) { /* TODO - remove */ } } -- 2.7.4