Closes #2521 - Fix code smells Stream.collect(Collectors.toList()) to Stream.toList()
This commit is contained in:
parent
376736ae8b
commit
7425e55906
|
@ -588,7 +588,7 @@ public class LdapClient {
|
|||
.filter(not(LdapSettings.TASKANA_LDAP_GROUPS_OF_USER_NAME::equals))
|
||||
.filter(not(LdapSettings.TASKANA_LDAP_GROUPS_OF_USER_TYPE::equals))
|
||||
.filter(p -> p.getValueFromEnv(env) == null)
|
||||
.collect(Collectors.toList());
|
||||
.toList();
|
||||
}
|
||||
|
||||
void testMinSearchForLength(final String name) throws InvalidArgumentException {
|
||||
|
|
Loading…
Reference in New Issue