Code Cleanup

This commit is contained in:
Dennis Aulenbacher
2020-12-03 13:48:46 +01:00
parent ccbe794198
commit 9e4f1d18f0
2 changed files with 2 additions and 1 deletions
@@ -1373,7 +1373,7 @@ public class UserStoreImpl implements UserStore {
final Map<String, T> result = new HashMap<>();
for (Entry<String, Map<String, Object>> userWithPreferences : preferenceObjects.entrySet()) {
final Map<String, Object> userPreferences = userWithPreferences.getValue();
Object userPreference = userPreferences.get(key);
final Object userPreference = userPreferences.get(key);
if(userPreference != null) {
result.put(userWithPreferences.getKey(), (T) userPreference);
}