Skip to content

Commit

Permalink
fix(impl): [#199] Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed Mar 28, 2024
1 parent f9400dc commit 6e3b488
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public CreatePoliciesResponse registerAllowedPolicy(@Valid @RequestBody final Cr
@GetMapping("/policies")
@ResponseStatus(HttpStatus.OK)
@PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')")
public Map<String, List<PolicyResponse>> getPolicies( //
public Map<String, List<PolicyResponse>> getPolicies(//
@RequestParam(required = false) //
@ValidListOfBusinessPartnerNumbers //
final List<String> businessPartnerNumbers) {
Expand All @@ -172,7 +172,7 @@ public Map<String, List<PolicyResponse>> getPolicies( //
}

final Map<String, List<Policy>> policies = service.getPolicies(businessPartnerNumbers);

return policies.entrySet()
.stream()
.map(entry -> new AbstractMap.SimpleEntry<>(entry.getKey(),
Expand Down

0 comments on commit 6e3b488

Please sign in to comment.