code: public static String objectsToString(Object[] args) {
          if (args == null) {
              return null;
          } else if (args.length == 0) {
              return "[]";
          } else {
              StringBuilder sb = new StringBuilder().append("[");
              for (Object arg : args) {
                  sb.append(arg.toString()).append(",");
              }
              sb.setCharAt(sb.length() - 1, ']');
              return sb.toString();
          }
      }
docs: 对象数组转string
  
  @param args 对象
  @return 不为null执行toString方法
  @since 5.4.0