From: David ‘Bombe’ Roden Date: Fri, 1 Nov 2019 18:06:00 +0000 (+0100) Subject: 🔥 Remove unused method X-Git-Tag: v81^2~85 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d794701018424594ea2f19c894da806a65ccd626;p=Sone.git 🔥 Remove unused method --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java index a06f826..cd1b7fb 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -177,22 +177,6 @@ public class WebOfTrustConnector { } /** - * Returns the value of the property with the given name. - * - * @param identity - * The identity whose properties to check - * @param name - * The name of the property to return - * @return The value of the property, or {@code null} if there is no value - * @throws PluginException - * if an error occured talking to the Web of Trust plugin - */ - public String getProperty(Identity identity, String name) throws PluginException { - PluginReply reply = performRequest(SimpleFieldSetConstructor.create().put("Message", "GetProperty").put("Identity", identity.getId()).put("Property", name).get()); - return reply.getFields().get("Property"); - } - - /** * Sets the property with the given name to the given value. * * @param ownIdentity