apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AdditionalUserInfoEnrichServiceImpl.java/AdditionalUserInfoEnrichServiceImpl/adapt
class AdditionalUserInfoEnrichServiceImpl:  private <T> List<UserInfoEnrichedAdapter> adapt(List<? extends T> dtoList,
      Function<? super T, ? extends UserInfoEnrichedAdapter> mapper) {
    List<UserInfoEnrichedAdapter> adapterList = new ArrayList<>(dtoList.size());
    for (T dto : dtoList) {
      if (dto == null) {
        continue;
      }
      UserInfoEnrichedAdapter enrichedAdapter = mapper.apply(dto);
      adapterList.add(enrichedAdapter);
    }
    return adapterList;
  }