Skip to content

Commit

Permalink
Merge pull request #55 from pagopa/hotfix-iddominio
Browse files Browse the repository at this point in the history
hotfix parallel stream idDominio
  • Loading branch information
jacopocarlini authored Jun 13, 2024
2 parents 3688086 + a1945bc commit 4051634
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public List<String> getStationCreditorInstitutions(String stationCode) {
.orElseThrow(() -> new AppException(AppError.STATION_NOT_FOUND, stationCode));

List<PaStazionePa> stazionePaList = this.ciStationRepository.findByFkStazione(station);
return stazionePaList.parallelStream()
return stazionePaList.stream()
.map(paStazionePa -> paStazionePa.getPa().getIdDominio())
.toList();
}
Expand Down

0 comments on commit 4051634

Please sign in to comment.