code: private Set<String> toSet(String value, String delimiter) {
          if (Strings.isNullOrEmpty(value)) {
              return Collections.emptySet();
          } else {
              Set<String> stringSet = new LinkedHashSet<>();
              String[] values = value.split(delimiter);
              for (String stringValue : values) {
                  if (!Strings.isNullOrEmpty(stringValue)) {
                      stringSet.add(stringValue.trim());
                  }
              }
  
              return stringSet;
          }
      }
docs: Creates an ordered set from a comma or semi-colon delimited string.
  Empty values are discarded.
  
  @param value
  @return a set of strings