code: public static Set<String> handleBugCategories(String categories) {
          // Parse list of bug categories
          Set<String> categorySet = new HashSet<>();
          StringTokenizer tok = new StringTokenizer(categories, ",");
          while (tok.hasMoreTokens()) {
              categorySet.add(tok.nextToken());
          }
  
          return categorySet;
      }
docs: Process -bugCategories option.
  
  @param categories
  comma-separated list of bug categories
  
  @return Set of categories to be used