From: David ‘Bombe’ Roden Date: Wed, 26 Nov 2014 05:34:36 +0000 (+0100) Subject: Remove obsolete methods. X-Git-Tag: 0.9-rc1^2~3^2~9 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=022590cd1b8be63e04847b4c76985f3d19fe489c;p=Sone.git Remove obsolete methods. --- diff --git a/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java b/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java index 154bfc8..4c9bcae 100644 --- a/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java +++ b/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java @@ -356,32 +356,6 @@ public class SoneImpl implements Sone { } /** - * Adds the given Sone as a friend Sone. - * - * @param friendSone - * The friend Sone to add - * @return This Sone (for method chaining) - */ - public Sone addFriend(String friendSone) { - if (!friendSone.equals(id)) { - friendSones.add(friendSone); - } - return this; - } - - /** - * Removes the given Sone as a friend Sone. - * - * @param friendSoneId - * The ID of the friend Sone to remove - * @return This Sone (for method chaining) - */ - public Sone removeFriend(String friendSoneId) { - friendSones.remove(friendSoneId); - return this; - } - - /** * Returns the list of posts of this Sone, sorted by time, newest first. * * @return All posts of this Sone