code: private static String sanitizeAndJoinEnumValues(String value, String[] otherValues) {
      StringBuilder sb = new StringBuilder(sanitizeEnumValue(value));
      for (int i = 0; i < otherValues.length; i++) {
        sb.append(',').append(sanitizeEnumValue(otherValues[i]));
      }
      return sb.toString();
    }
docs: Sanitizes and joins string varargs where each value is subjected to sanitization via
  {@link #sanitizeEnumValue(String)}.