private List<String> matchingPaths( ApiSelector selector, PatternsRequestCondition patternsCondition) { return natural() .sortedCopy(from(patternsCondition.getPatterns()).filter(selector.getPathSelector())); }
private List<String> matchingPaths( ApiSelector selector, PatternsRequestCondition patternsCondition) { return from(patternsCondition.getPatterns()) .filter(selector.getPathSelector()) .toSortedList(Ordering.<String>natural()); }