James Moger
2013-09-30 699e71e76b15081baf746c6ce9c9144f7e5f1ff9
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 = "";