From 20eb3936c12c72f525b8f71b6ce205bc75775343 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 7 Dec 2014 02:06:54 +0100 Subject: [PATCH] Remove setClient method from Sone. --- src/main/java/net/pterodactylus/sone/data/Sone.java | 9 --------- src/main/java/net/pterodactylus/sone/data/impl/IdOnlySone.java | 5 ----- 2 files changed, 14 deletions(-) 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; } -- 2.7.4