parent
1ff558bd9e
commit
93419a1797
1 changed files with 4 additions and 2 deletions
|
@ -175,8 +175,10 @@ public class UserAdapter implements UserModel.Streams, JpaModel<UserEntity> {
|
|||
}
|
||||
// Remove all existing
|
||||
removeAttribute(name);
|
||||
for (Iterator<String> it = values.stream().filter(Objects::nonNull).iterator(); it.hasNext();) {
|
||||
persistAttributeValue(name, it.next());
|
||||
if (values != null) {
|
||||
for (Iterator<String> it = values.stream().filter(Objects::nonNull).iterator(); it.hasNext();) {
|
||||
persistAttributeValue(name, it.next());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue