Closed
Description
InMemoryClientRegistrationRepository can be constructed with either a List of ClientRegistrations or a Map of same. However,
passing an empty list is a runtime error while passing an empty map is not.
Commit e554547 changed the assertion in the list case from notNull to notEmpty.
IMO, an empty repository is a perfectly valid use case, so the list constructor should also accept an empty list.