code: @SuppressWarnings("PMD.AvoidInstantiatingObjectsInLoops")
      private static SortedSet<MediaType> parse(final String text) {
          final SortedSet<MediaType> list = new TreeSet<>();
          for (final String name
              : new EnglishLowerCase(text).string().split(",")) {
              if (!name.isEmpty()) {
                  list.add(new MediaType(name));
              }
          }
          return list;
      }
docs: Ctor.
  @param text Text to parse
  @return List of media types