RED-3011 - DossierTemplate Stats

- reove useless parantheses
This commit is contained in:
devplant 2021-12-20 13:41:54 +02:00
parent a22382d415
commit 567e424a27

View File

@ -30,7 +30,7 @@ public class DossierTemplateStatsService {
Collectors.mapping(this::getDossierTemplateStats, Collectors.toList())));
List<DossierTemplateStats> dossierTemplateStatsList = dictionarySummaryMap.entrySet().stream()
.map(e ->
(e.getValue().size() == 1 && e.getValue().get(0).getId() == null)?
e.getValue().size() == 1 && e.getValue().get(0).getId() == null?
new DossierTemplateStats(e.getKey(), 0, new ArrayList<>()):
new DossierTemplateStats(e.getKey(), e.getValue().size(), e.getValue()))
.collect(Collectors.toList());