diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyPagingService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyPagingService.java index 34a21b5e0..adaabf8ba 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyPagingService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyPagingService.java @@ -102,7 +102,7 @@ public List autocomplete(final Map> bpnToPoliciesMa } } - public Stream getPolicyWithBpnStream(final Map> bpnToPoliciesMap) { + private Stream getPolicyWithBpnStream(final Map> bpnToPoliciesMap) { return bpnToPoliciesMap.entrySet() .stream() .flatMap(bpnWithPolicies -> bpnWithPolicies.getValue()