code: public static String[] resolveCSV(String csv) {
          List<String> resolved;
  
          if (csv != null &&
                  ! csv.equals("")) {
              String[] elts = csv.split(",");
              List<String> tokens = new ArrayList<>(elts.length);
              for (String elt : elts) {
                  tokens.add(elt.trim());
              }
  
              resolved = resolve(tokens);
  
          } else {
              // No 'ssl.ciphers' configured?  Use the defaults, then.
              resolved = resolve(null);
          }
  
          return resolved.toArray(new String[resolved.size()]);
      }
docs: String array.