/** * Filters the given categories according the the given report configuration. * * @param categories the categories to be filtered. * @return a copy of the given <code>categories</code> containing only those * categories that are accepted. */ public List<String> filter(final List<String> categories) { return config.getSelectionFilter().filterCategories(categories); }