When no matrix variables are provided to an endpoint with a MultiValueMap parameter, the argument should resolve to a MultiValueMap, not to Collections.emptyMap().

Comment From: pivotal-cla

@bernie-schelberg-invicara Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@bernie-schelberg-invicara Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@bernie-schelberg-invicara good catch and thank you for making your first contribution to Spring Framework. I've harmonized the method so that it has to return a MultiValueMap for consistency. I've also adapted the reactive variant. See 9aa707e