X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FOwnIdentity.java;h=d9ec16009d11324a72c61f919b68b6fa3b01d4cf;hb=3ea1ec9e8259fe2808fcaadcf7db2e22fd81ad2b;hp=626c4a847890cf96f281cc19d1efb9812872c0d6;hpb=5ac1da7c51270ade6171b9755cc26c9b2385c426;p=Sone.git 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 626c4a8..d9ec160 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/OwnIdentity.java @@ -58,40 +58,4 @@ public class OwnIdentity extends Identity { return insertUri; } - /** - * Adds the given context to this identity. - * - * @param context - * The context to add - */ - public void addContext(String context) { - if (contexts.add(context)) { - /* TODO - add. */ - } - } - - /** - * Removes the given context from this identity. - * - * @param context - * The context to remove - */ - public void removeContext(String context) { - if (contexts.remove(context)) { - /* TODO - remove */ - } - } - - // - // OBJECT METHODS - // - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return getClass().getSimpleName() + "[id=" + getId() + ",nickname=" + getNickname() + ",requestUri=" + getRequestUri() + ",insertUri=" + insertUri + "]"; - } - }