From: David ‘Bombe’ Roden Date: Thu, 25 Nov 2010 11:16:34 +0000 (+0100) Subject: Move createReply() method. X-Git-Tag: 0.3.1-RC1~24 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=f2dee89b35c6ff8acf80ea9cb355aa9c45d829a1;hp=655472c7aecc8683e127e0930297202ecd195d64 Move createReply() method. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 096f192..90443ce 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -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