From 26945c1ebce2bed10773f6fee0a8fa0a69a36bc5 Mon Sep 17 00:00:00 2001 From: d-bernat Date: Fri, 1 Nov 2024 12:23:06 +0100 Subject: [PATCH] spotless --- .../hisp/dhis/analytics/data/DefaultDataQueryService.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultDataQueryService.java b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultDataQueryService.java index 3787d1c8112..a8121b5b8a0 100644 --- a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultDataQueryService.java +++ b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultDataQueryService.java @@ -64,7 +64,6 @@ import java.util.Objects; import java.util.Optional; import java.util.Set; - import lombok.RequiredArgsConstructor; import org.hisp.dhis.analytics.AnalyticsSecurityManager; import org.hisp.dhis.analytics.DataQueryParams; @@ -312,8 +311,7 @@ public List getUserOrgUnits(DataQueryParams params, String use } /** - * Retrieve the list of organizational units - * to which the current user has access rights. + * Retrieve the list of organizational units to which the current user has access rights. * * @param currentUser {@link User} */ @@ -327,6 +325,7 @@ private List getOrganisationUnitsGrantedForAnalyticsData(User return currentUser.getOrganisationUnits().stream().sorted().toList(); } } + private List getDimensionalObjects(DataQueryRequest request) { List list = new ArrayList<>(); DataQueryParams params =