From 6e3b4881e47b49c6ffb38ff271716ec26ed7d7c3 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Thu, 28 Mar 2024 05:03:22 +0100 Subject: [PATCH] fix(impl): [#199] Fix checkstyle --- .../irs/policystore/controllers/PolicyStoreController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index 0100a59b22..d1fad32c2f 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -160,7 +160,7 @@ public CreatePoliciesResponse registerAllowedPolicy(@Valid @RequestBody final Cr @GetMapping("/policies") @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") - public Map> getPolicies( // + public Map> getPolicies(// @RequestParam(required = false) // @ValidListOfBusinessPartnerNumbers // final List businessPartnerNumbers) { @@ -172,7 +172,7 @@ public Map> getPolicies( // } final Map> policies = service.getPolicies(businessPartnerNumbers); - + return policies.entrySet() .stream() .map(entry -> new AbstractMap.SimpleEntry<>(entry.getKey(),