code: protected static void appendArray(StringBuilder buff, String name, String[] values) {
      buff.append(',');
      buff.append(name);
      buff.append("=[");
      if (values != null) {
        for (int i = 0; i < values.length; i++) {
          if (i != 0) buff.append(',');
          buff.append(values[i]);
        }
      }
      buff.append(']');
    }
docs: Helper method to append a string array to a summary string method