X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FIdentity.java;h=b8734c7f01955d9c65fd083ed89b72fc1e048b95;hb=5e6c39b23a0aa59d39cf7432c8763a37c839de91;hp=0e13e9e16a7b5a9f5a17083b9421ba6c2ffc689d;hpb=eb2ef658fdd82fca688d1e0c52942cedb3699e3e;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java b/src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java index 0e13e9e..b8734c7 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/Identity.java @@ -49,7 +49,7 @@ public class Identity { private volatile boolean contextsLoaded = false; /** The properties of the identity. */ - private final Map properties = Collections.synchronizedMap(new HashMap()); + protected final Map properties = Collections.synchronizedMap(new HashMap()); /** * Creates a new identity. @@ -169,30 +169,6 @@ public class Identity { return properties.get(name); } - /** - * Sets the property with the given name to the given value. - * - * @param name - * The name of the property to set - * @param value - * The new value of the property - */ - public void setProperty(String name, String value) { - properties.put(name, value); - /* TODO - set property. */ - } - - /** - * Removes the property with the given name. - * - * @param name - * The name of the property to remove - */ - public void removeProperty(String name) { - properties.remove(name); - /* TODO - remove property. */ - } - // // OBJECT METHODS //