mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
parent
6aca4650e2
commit
9b5cb1ef6a
@ -470,7 +470,7 @@ public class UserManagementServiceImpl implements UserManagementService {
|
||||
tempList = getUserList(Constants.USER_CLAIM_LAST_NAME, lastName);
|
||||
if (commonUsers == null || commonUsers.size() == 0) {
|
||||
commonUsers = tempList;
|
||||
} else if (tempList.size() > 0){
|
||||
} else {
|
||||
commonUsers.retainAll(tempList);
|
||||
}
|
||||
}
|
||||
@ -479,7 +479,7 @@ public class UserManagementServiceImpl implements UserManagementService {
|
||||
tempList = getUserList(Constants.USER_CLAIM_EMAIL_ADDRESS, emailAddress);
|
||||
if (commonUsers == null || commonUsers.size() == 0) {
|
||||
commonUsers = tempList;
|
||||
} else if (tempList.size() > 0) {
|
||||
} else {
|
||||
commonUsers.retainAll(tempList);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user