Skip to content

Commit

Permalink
chore(cleanup): [eclipse-tractusx#734] use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed Jul 17, 2024
1 parent 5ca63e5 commit b264560
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public List<AcceptedPolicy> getConfiguredDefaultPolicies() {
public Map<String, List<Policy>> getAllStoredPolicies() {
final Map<String, List<Policy>> bpnToPolicies = persistence.readAll();
if (containsNoDefaultPolicyAvailable(bpnToPolicies)) {
bpnToPolicies.put("default", allowedPoliciesFromConfig);
bpnToPolicies.put(DEFAULT, allowedPoliciesFromConfig);
}
return bpnToPolicies;
}
Expand Down

0 comments on commit b264560

Please sign in to comment.