diff --git a/backend/src/main/java/ch/puzzle/okr/mapper/OverviewMapper.java b/backend/src/main/java/ch/puzzle/okr/mapper/OverviewMapper.java index e86faadb1e..7f0ef5b198 100644 --- a/backend/src/main/java/ch/puzzle/okr/mapper/OverviewMapper.java +++ b/backend/src/main/java/ch/puzzle/okr/mapper/OverviewMapper.java @@ -74,7 +74,9 @@ private OverviewObjectiveDto createObjectiveDto(Overview overview) { return new OverviewObjectiveDto(overview.getOverviewId().getObjectiveId(), overview.getObjectiveTitle(), overview.getObjectiveState(), - new OverviewQuarterDto(overview.getQuarterId(), overview.getQuarterLabel(), overview.isBacklogQuarter()), + new OverviewQuarterDto(overview.getQuarterId(), + overview.getQuarterLabel(), + overview.isBacklogQuarter()), keyResults); } diff --git a/backend/src/main/java/ch/puzzle/okr/service/business/OverviewBusinessService.java b/backend/src/main/java/ch/puzzle/okr/service/business/OverviewBusinessService.java index d3e58e5365..9929248a27 100644 --- a/backend/src/main/java/ch/puzzle/okr/service/business/OverviewBusinessService.java +++ b/backend/src/main/java/ch/puzzle/okr/service/business/OverviewBusinessService.java @@ -43,7 +43,7 @@ public List getFilteredOverview(Long quarterId, List teamIds, St } private void setBacklogQuarters(List overviews) { - for(Overview overview: overviews) { + for (Overview overview : overviews) { Quarter overviewQuarter = quarterBusinessService.getQuarterById(overview.getQuarterId()); overview.setBacklogQuarter(overviewQuarter.isBacklogQuarter()); }