code: public static String stringifyProperties(Property[] properties)
      {
          if (properties == null)
          {
              return null;
          }
  
          StringBuilder sb = new StringBuilder();
  
          for (Property property : properties)
          {
              if (property == null)
              {
                  continue;
              }
  
              sb.append(property.getKey());
              sb.append("=");
              sb.append(property.getValue());
              sb.append(",");
          }
  
          if (0 < sb.length())
          {
              // Remove the last comma.
              sb.setLength(sb.length() - 1);
          }
  
          // Enclose with square brackets.
          sb.insert(0, "[");
          sb.append("]");
  
          return sb.toString();
      }
docs: Stringify an array of {@link Property}.
  
  @param properties
  An array of {@link Property}. If {@code null} is given,
  {@code null} is returned.
  
  @return
  A formatted string containing the information about
  the given properties. If the {@code properties} parameter
  is {@code null}, {@code null} is returned.
  
  @since 2.5