X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FWebOfTrustConnector.java;h=7ce1ede788d7f56a72732c512e56933f4d60b1d5;hb=e01ceeed92f226bf74c9f516bce882b5cd816a62;hp=a1091360b94695cc166e8cb46070285571b2a1da;hpb=ce781d091226a292e764edd5733390a2c7168f1a;p=Sone.git 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 a109136..7ce1ede 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -77,13 +77,6 @@ public class WebOfTrustConnector { // /** - * Stops the web of trust connector. - */ - public void stop() { - /* does nothing. */ - } - - /** * Loads all own identities from the Web of Trust plugin. * * @return All own identity @@ -418,7 +411,6 @@ public class WebOfTrustConnector { logger.log(Level.FINEST, String.format("Received Reply from Plugin: %s", receivedReplyEvent.fieldSet().get("Message"))); synchronized (reply) { reply.setFields(receivedReplyEvent.fieldSet()); - reply.setData(receivedReplyEvent.data()); reply.notify(); } } @@ -433,9 +425,6 @@ public class WebOfTrustConnector { /** The fields of the reply. */ private SimpleFieldSet fields; - /** The payload of the reply. */ - private Bucket data; - /** Empty constructor. */ public Reply() { /* do nothing. */ @@ -460,26 +449,6 @@ public class WebOfTrustConnector { this.fields = fields; } - /** - * Returns the payload of the reply. - * - * @return The payload of the reply (may be {@code null}) - */ - @SuppressWarnings("unused") - public Bucket getData() { - return data; - } - - /** - * Sets the payload of the reply. - * - * @param data - * The payload of the reply (may be {@code null}) - */ - public void setData(Bucket data) { - this.data = data; - } - } /**