From 655b821e274ca4be078389475a8bb33139c55a4f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 4 Nov 2015 15:24:53 +0300 Subject: refactoring --- src/main/java/com/juick/json/Users.java | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/main/java/com/juick/json/Users.java (limited to 'src/main/java/com/juick/json/Users.java') 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 users) { - String json = "["; - - Iterator 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; - } -} -- cgit v1.2.3