diff options
author | Vitaly Takmazov | 2015-11-04 15:24:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-11-04 15:25:35 +0300 |
commit | 655b821e274ca4be078389475a8bb33139c55a4f (patch) | |
tree | 6319c4ba8c32bff6e1f4116665ac90b75468d0ad /src/main/java/com/juick/json/Users.java | |
parent | 5f4602b34ccc3f899edd45e5e541cbb7307c9585 (diff) |
refactoring
Diffstat (limited to 'src/main/java/com/juick/json/Users.java')
-rw-r--r-- | src/main/java/com/juick/json/Users.java | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/main/java/com/juick/json/Users.java b/src/main/java/com/juick/json/Users.java deleted file mode 100644 index 0e486f74..00000000 --- a/src/main/java/com/juick/json/Users.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ -package com.juick.json; - -import java.util.ArrayList; -import java.util.Iterator; - -/** - * - * @author ugnich - */ -public class Users { - - public static String arrayToString(ArrayList<com.juick.User> users) { - String json = "["; - - Iterator<com.juick.User> i = users.iterator(); - while (i.hasNext()) { - com.juick.User u = i.next(); - if (json.length() > 1) { - json += ","; - } - json += User.toJSON(u).toString(); - } - - json += "]"; - return json; - } -} |