From b264560601be0af71c68897757c1d2087318d570 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 17 Jul 2024 13:55:17 +0200 Subject: [PATCH] chore(cleanup): [#734] use constant --- .../tractusx/irs/policystore/services/PolicyStoreService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index d7dbe61d1..203bbb777 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -182,7 +182,7 @@ public List getConfiguredDefaultPolicies() { public Map> getAllStoredPolicies() { final Map> bpnToPolicies = persistence.readAll(); if (containsNoDefaultPolicyAvailable(bpnToPolicies)) { - bpnToPolicies.put("default", allowedPoliciesFromConfig); + bpnToPolicies.put(DEFAULT, allowedPoliciesFromConfig); } return bpnToPolicies; }