Skip to content

Commit

Permalink
Adds comment about composite map
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Mar 8, 2024
1 parent 5a6086c commit a5b1359
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public static void putUriTemplateVariables(ServerRequest request, Map<String, St
putAttribute(request, URI_TEMPLATE_VARIABLES_ATTRIBUTE, merged);
}

// TODO: replace with CollectionUtils.compositeMap in 4.2.x (Framework 6.2, boot 3.4)
public static <K, V> Map<K, V> mergeMaps(Map<K, V> left, Map<K, V> right) {
if (CollectionUtils.isEmpty(left)) {
if (CollectionUtils.isEmpty(right)) {
Expand Down

0 comments on commit a5b1359

Please sign in to comment.