docs: public static String getStringFromCollection(Collection<String> values) {
          StringBuilder builder = new StringBuilder();
          if (values != null) {
              for (String value : values) {
                  builder.append(value).append(',');
              }
              if (builder.charAt(builder.length() - 1) == ',')
                  builder.deleteCharAt(builder.length() - 1);
          }
          return builder.toString();
      }