From 022590cd1b8be63e04847b4c76985f3d19fe489c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 26 Nov 2014 06:34:36 +0100 Subject: [PATCH] Remove obsolete methods. --- .../net/pterodactylus/sone/data/impl/SoneImpl.java | 26 ---------------------- 1 file changed, 26 deletions(-) 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 -- 2.7.4