Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
d-bernat committed Nov 1, 2024
1 parent dc06a87 commit 26945c1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -312,8 +311,7 @@ public List<OrganisationUnit> 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}
*/
Expand All @@ -327,6 +325,7 @@ private List<OrganisationUnit> getOrganisationUnitsGrantedForAnalyticsData(User
return currentUser.getOrganisationUnits().stream().sorted().toList();
}
}

private List<DimensionalObject> getDimensionalObjects(DataQueryRequest request) {
List<DimensionalObject> list = new ArrayList<>();
DataQueryParams params =
Expand Down

0 comments on commit 26945c1

Please sign in to comment.