diff --git a/core/src/main/java/org/springframework/ldap/support/LdapUtils.java b/core/src/main/java/org/springframework/ldap/support/LdapUtils.java index 502fca88..9c38f1ee 100644 --- a/core/src/main/java/org/springframework/ldap/support/LdapUtils.java +++ b/core/src/main/java/org/springframework/ldap/support/LdapUtils.java @@ -450,7 +450,7 @@ public final class LdapUtils { */ public static LdapName prepend(Name dn, Name pathToPrepend) { Assert.notNull(dn, "dn must not be null"); - Assert.notNull(pathToPrepend, "pathToRemove must not be null"); + Assert.notNull(pathToPrepend, "pathToPrepend must not be null"); LdapName result = newLdapName(dn); try {