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