Skip to content

Commit

Permalink
Merge pull request spring-projects#574 from jirkait/master
Browse files Browse the repository at this point in the history
fix Not null value assert in LdapNameBuilder.add()
  • Loading branch information
jzheaux authored Mar 8, 2021
2 parents 113044a + f68f8ce commit 20fdc98
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 20fdc98

Please sign in to comment.