Fix NPE InMemoryClientRegistrationRepository

This commit is contained in:
Joe Grandja 2017-09-26 14:08:01 -04:00
parent 0e9b2807bf
commit 7fb3093617
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public final class InMemoryClientRegistrationRepository implements ClientRegistr
return this.registrations.values().stream()
.filter(registration -> registration.getClientAlias().equals(clientAlias))
.findFirst()
.orElseGet(null);
.orElse(null);
}
@Override