Merge pull request #574 from jirkait/master

fix Not null value assert in LdapNameBuilder.add()
This commit is contained in:
Josh Cummings
2021-03-08 13:19:06 -07:00
committed by GitHub

View File

@@ -82,7 +82,7 @@ public final class LdapNameBuilder {
*/
public LdapNameBuilder add(String key, Object value) {
Assert.hasText(key, "key must not be blank");
Assert.notNull(key, "value must not be null");
Assert.notNull(value, "value must not be null");
try {
ldapName.add(new Rdn(key, value));