code: private String convertSimpleArrayToString(Object value) {
          String answer;
          int length = Array.getLength(value);
          StringBuffer temp = new StringBuffer("{");
          for (int i = 0; i < length && i < MAX_ARRAY_LENGTH; i++) {
              Object element = Array.get(value, i);
              if ((i > 0) && !(element instanceof Character))
                  temp.append(",");
              temp.append(element);
          }
          if (length > MAX_ARRAY_LENGTH) {
              if (!(Array.get(value, 0) instanceof Character))
                  temp.append(",");
              temp.append("...");
          }
          temp.append("} /* array length = ");
          temp.append(Integer.toString(Array.getLength(value)));
          temp.append(" */");
          answer = temp.toString();
          return answer;
      }
docs: Convert an Object (which must be an array) to a string to be used as a
  description
  
  @param value
  The object to be converted
  @return The converted string