From d95d25183e0f877bf86bfe88f79d80eb3ad32f1a Mon Sep 17 00:00:00 2001 From: Jannik Pulfer Date: Tue, 28 Jan 2025 15:58:14 +0100 Subject: [PATCH] Format backend --- .../src/main/java/ch/puzzle/okr/mapper/OverviewMapper.java | 4 +++- .../puzzle/okr/service/business/OverviewBusinessService.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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()); }