James Moger
2013-11-26 3d87db0d203b855ea819e4dfdd6bd1a328182719
src/main/java/com/gitblit/utils/ArrayUtils.java
@@ -22,9 +22,9 @@
/**
 * Utility class for arrays and collections.
 *
 *
 * @author James Moger
 *
 *
 */
public class ArrayUtils {
@@ -39,11 +39,11 @@
   public static boolean isEmpty(Object [] array) {
      return array == null || array.length == 0;
   }
   public static boolean isEmpty(Collection<?> collection) {
      return collection == null || collection.size() == 0;
   }
   public static String toString(Collection<?> collection) {
      if (isEmpty(collection)) {
         return "";
@@ -56,7 +56,7 @@
      sb.setLength(sb.length() - 2);
      return sb.toString();
   }
   public static Collection<String> fromString(String value) {
      if (StringUtils.isEmpty(value)) {
         value = "";