fix Not null value assert in LdapNameBuilder.add()

This commit is contained in:
Jirka Havelka
2021-03-04 10:05:27 +01:00
parent 113044ad55
commit f68f8ce935

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));