diff options
Diffstat (limited to 'src/main/java/com/juick/json/Messages.java')
-rw-r--r-- | src/main/java/com/juick/json/Messages.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/java/com/juick/json/Messages.java b/src/main/java/com/juick/json/Messages.java deleted file mode 100644 index a1879b09..00000000 --- a/src/main/java/com/juick/json/Messages.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.juick.json; - -import java.util.ArrayList; -import java.util.Iterator; - -/** - * - * @author ugnich - */ -public class Messages { - - public static String arrayToString(ArrayList<com.juick.Message> messages) { - String json = "["; - - Iterator<com.juick.Message> i = messages.iterator(); - while (i.hasNext()) { - com.juick.Message m = i.next(); - if (json.length() > 1) { - json += ","; - } - json += Message.toJSON(m).toString(); - } - - json += "]"; - return json; - } -} |