Skip to content

Commit

Permalink
fix(test): [#533] use interface List instead of ArrayList
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed May 13, 2024
1 parent d378b12 commit e5d47f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static HashMap<String, HashSet<String>> getExpectedBpnToPolicyIdsMapping(

public static Stream<String> extractPolicyIdsForBpn(
final Map<String, ArrayList<LinkedHashMap<String, ?>>> bpnToPoliciesMap, final String bpn) {
ArrayList<LinkedHashMap<String, ?>> policyIds = bpnToPoliciesMap.get(bpn);
List<LinkedHashMap<String, ?>> policyIds = bpnToPoliciesMap.get(bpn);
if (policyIds == null) {
policyIds = new ArrayList<>();
}
Expand Down

0 comments on commit e5d47f3

Please sign in to comment.