code: public static void consumePathList(List<Path> pathList,
  			Consumer<Path> consumer) {
  		for (Path path : pathList)
  			consumer.accept(path);
  	}
docs: Consume path list.
  
  @param pathList the path list
  @param consumer the consumer