Program: 141498
Project: 141498
Buggy source:
private void addFacilitiesSheet(Excel excel,List<Facility> facilities,Map<Long,List<Hub>> hubsByFacilityId){
  excel.addSheet("String_Node_Str",facilities,asList(col("String_Node_Str",f -> f.name),col("String_Node_Str",f -> join("String_Node_Str",f.aliases)),col("String_Node_Str",f -> hubsByFacilityId.get(f.id).stream().map(h -> h.name.fi).collect(joining("String_Node_Str"))),col("String_Node_Str",f -> operatorService.getOperator(f.operatorId).name),col("String_Node_Str",f -> translationService.translate(f.status)),col("String_Node_Str",f -> f.statusDescription),col("String_Node_Str",f -> f.location.getCentroid().getX()),col("String_Node_Str",f -> f.location.getCentroid().getY()),col("String_Node_Str",f -> time(f.openingHours.byDayType.get(BUSINESS_DAY))),col("String_Node_Str",f -> time(f.openingHours.byDayType.get(SATURDAY))),col("String_Node_Str",f -> time(f.openingHours.byDayType.get(SUNDAY))),col("String_Node_Str",f -> f.openingHours.info),col("String_Node_Str",f -> capacitySum(f.builtCapacity,motorCapacityList)),col("String_Node_Str",f -> capacitySum(f.builtCapacity,bicycleCapacityList)),col("String_Node_Str",f -> f.builtCapacity.get(CAR)),col("String_Node_Str",f -> f.builtCapacity.get(DISABLED)),col("String_Node_Str",f -> f.builtCapacity.get(ELECTRIC_CAR)),col("String_Node_Str",f -> f.builtCapacity.get(MOTORCYCLE)),col("String_Node_Str",f -> f.builtCapacity.get(BICYCLE)),col("String_Node_Str",f -> f.builtCapacity.get(BICYCLE_SECURE_SPACE)),col("String_Node_Str",f -> f.pricing.stream().map((p) -> translationService.translate(p.usage)).distinct().collect(joining("String_Node_Str"))),col("String_Node_Str",f -> f.paymentInfo.paymentMethods.stream().map(m -> translationService.translate(m)).collect(joining("String_Node_Str"))),col("String_Node_Str",f -> f.paymentInfo.detail),col("String_Node_Str",f -> f.services.stream().map(s -> translationService.translate(s)).collect(joining("String_Node_Str"))),col("String_Node_Str",f -> contactText(f.contacts.emergency)),col("String_Node_Str",f -> contactText(f.contacts.operator)),col("String_Node_Str",f -> contactText(f.contacts.service))));
}

Fixed version (ground truth):
private void addFacilitiesSheet(Excel excel,List<Facility> facilities,Map<Long,List<Hub>> hubsByFacilityId){
  excel.addSheet("String_Node_Str",facilities,asList(col("String_Node_Str",(  Facility f) -> f.name),col("String_Node_Str",(  Facility f) -> join("String_Node_Str",f.aliases)),col("String_Node_Str",(  Facility f) -> hubsByFacilityId.get(f.id).stream().map(h -> h.name.fi).collect(joining("String_Node_Str"))),col("String_Node_Str",(  Facility f) -> operatorService.getOperator(f.operatorId).name),col("String_Node_Str",(  Facility f) -> translationService.translate(f.status)),col("String_Node_Str",(  Facility f) -> f.statusDescription),col("String_Node_Str",(  Facility f) -> f.location.getCentroid().getX()),col("String_Node_Str",(  Facility f) -> f.location.getCentroid().getY()),col("String_Node_Str",(  Facility f) -> time(f.openingHours.byDayType.get(BUSINESS_DAY))),col("String_Node_Str",(  Facility f) -> time(f.openingHours.byDayType.get(SATURDAY))),col("String_Node_Str",(  Facility f) -> time(f.openingHours.byDayType.get(SUNDAY))),col("String_Node_Str",(  Facility f) -> f.openingHours.info),col("String_Node_Str",(  Facility f) -> capacitySum(f.builtCapacity,motorCapacityList)),col("String_Node_Str",(  Facility f) -> capacitySum(f.builtCapacity,bicycleCapacityList)),col("String_Node_Str",(  Facility f) -> f.builtCapacity.get(CAR)),col("String_Node_Str",(  Facility f) -> f.builtCapacity.get(DISABLED)),col("String_Node_Str",(  Facility f) -> f.builtCapacity.get(ELECTRIC_CAR)),col("String_Node_Str",(  Facility f) -> f.builtCapacity.get(MOTORCYCLE)),col("String_Node_Str",(  Facility f) -> f.builtCapacity.get(BICYCLE)),col("String_Node_Str",(  Facility f) -> f.builtCapacity.get(BICYCLE_SECURE_SPACE)),col("String_Node_Str",(  Facility f) -> f.pricing.stream().map((p) -> translationService.translate(p.usage)).distinct().collect(joining("String_Node_Str"))),col("String_Node_Str",(  Facility f) -> f.paymentInfo.paymentMethods.stream().map(m -> translationService.translate(m)).collect(joining("String_Node_Str"))),col("String_Node_Str",(  Facility f) -> f.paymentInfo.detail),col("String_Node_Str",(  Facility f) -> f.services.stream().map(s -> translationService.translate(s)).collect(joining("String_Node_Str"))),col("String_Node_Str",(  Facility f) -> contactText(f.contacts.emergency)),col("String_Node_Str",(  Facility f) -> contactText(f.contacts.operator)),col("String_Node_Str",(  Facility f) -> contactText(f.contacts.service))));
}