Skip to content
Unverified Commit fe404f0e authored by Chris Narkiewicz's avatar Chris Narkiewicz
Browse files

Fix NPE in UserAccountManagerImpl.getUser(CharSequence)



Optional.of() called on nullable value causes NPE.
We should use Optional.ofNullable() instead, as the
argument can be null by design.

Fixes #5155

Signed-off-by: default avatarChris Narkiewicz <hello@ezaquarii.com>
parent ec515d0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment