Move createReply() method.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 25 Nov 2010 11:16:34 +0000 (12:16 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 25 Nov 2010 11:16:34 +0000 (12:16 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index 096f192..90443ce 100644 (file)
@@ -1226,21 +1226,6 @@ public class Core implements IdentityListener {
        }
 
        /**
-        * Creates a new reply.
-        *
-        * @param sone
-        *            The Sone that creates the reply
-        * @param post
-        *            The post that this reply refers to
-        * @param text
-        *            The text of the reply
-        * @return The created reply
-        */
-       public Reply createReply(Sone sone, Post post, String text) {
-               return createReply(sone, post, System.currentTimeMillis(), text);
-       }
-
-       /**
         * Marks the given post as known, if it is currently a new post (according
         * to {@link #isNewPost(String)}).
         *
@@ -1263,6 +1248,21 @@ public class Core implements IdentityListener {
         *            The Sone that creates the reply
         * @param post
         *            The post that this reply refers to
+        * @param text
+        *            The text of the reply
+        * @return The created reply
+        */
+       public Reply createReply(Sone sone, Post post, String text) {
+               return createReply(sone, post, System.currentTimeMillis(), text);
+       }
+
+       /**
+        * Creates a new reply.
+        *
+        * @param sone
+        *            The Sone that creates the reply
+        * @param post
+        *            The post that this reply refers to
         * @param time
         *            The time of the reply
         * @param text