Remove post management methods from Sone.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / impl / SoneImpl.java
index eb2fc6e..5d8f1c4 100644 (file)
@@ -363,31 +363,6 @@ public class SoneImpl implements LocalSone {
        }
 
        /**
-        * Adds the given post to this Sone. The post will not be added if its {@link
-        * Post#getSone() Sone} is not this Sone.
-        *
-        * @param post
-        *              The post to add
-        */
-       public void addPost(Post post) {
-               if (post.getSone().equals(this) && posts.add(post)) {
-                       logger.log(Level.FINEST, String.format("Adding %s to ā€œ%sā€.", post, getName()));
-               }
-       }
-
-       /**
-        * Removes the given post from this Sone.
-        *
-        * @param post
-        *              The post to remove
-        */
-       public void removePost(Post post) {
-               if (post.getSone().equals(this)) {
-                       posts.remove(post);
-               }
-       }
-
-       /**
         * Returns all replies this Sone made.
         *
         * @return All replies this Sone made