From: David ‘Bombe’ Roden Date: Sun, 7 Dec 2014 01:06:54 +0000 (+0100) Subject: Remove setClient method from Sone. X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=20eb3936c12c72f525b8f71b6ce205bc75775343 Remove setClient method from Sone. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 45909d5..4bde55b 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -303,15 +303,6 @@ public interface Sone extends Identified, Fingerprintable, Comparable { Client getClient(); /** - * Sets the client used by this Sone. - * - * @param client - * The client used by this Sone, or {@code null} - * @return This Sone (for method chaining) - */ - Sone setClient(Client client); - - /** * Returns whether this Sone is known. * * @return {@code true} if this Sone is known, {@code false} otherwise diff --git a/src/main/java/net/pterodactylus/sone/data/impl/IdOnlySone.java b/src/main/java/net/pterodactylus/sone/data/impl/IdOnlySone.java index 8875f9a..6352c10 100644 --- a/src/main/java/net/pterodactylus/sone/data/impl/IdOnlySone.java +++ b/src/main/java/net/pterodactylus/sone/data/impl/IdOnlySone.java @@ -96,11 +96,6 @@ public class IdOnlySone implements Sone { } @Override - public Sone setClient(Client client) { - return null; - } - - @Override public boolean isKnown() { return false; }