Skip to content

Commit

Permalink
fix Not null value assert in LdapNameBuilder.add()
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkait committed Mar 4, 2021
1 parent 113044a commit f68f8ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static LdapNameBuilder newInstance(String name) {
*/
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));
Expand Down

0 comments on commit f68f8ce

Please sign in to comment.