From ebd089068ff125772e8448452b8dc9d1592f58a8 Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Tue, 30 Oct 2007 22:49:35 +0000 Subject: [PATCH] Fixed small javadoc errors. --- .../core/simple/AbstractParameterizedContextMapper.java | 2 +- .../ldap/core/simple/SimpleLdapOperations.java | 6 ++---- .../org/springframework/ldap/core/DirContextAdapter.java | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java b/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java index 743bf861..4e56b02f 100644 --- a/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java +++ b/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java @@ -48,6 +48,6 @@ public abstract class AbstractParameterizedContextMapper implements Parameter * @param ctx the context to map to an object. * @return an object built from the data in the context. */ - protected abstract T doMapFromContext(DirContextOperations operations); + protected abstract T doMapFromContext(DirContextOperations ctx); } diff --git a/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java b/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java index 53b217fe..e6085679 100644 --- a/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java +++ b/spring-ldap-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java @@ -111,9 +111,7 @@ public interface SimpleLdapOperations { void bind(String dn, Object obj, Attributes attributes); /** - * Remove an entry from the LDAP tree. The entry must not have any children - - * if you suspect that the entry might have descendants, use - * {@link #unbind(Name, boolean)} in stead. + * Remove an entry from the LDAP tree. The entry must not have any children. * * @param dn The distinguished name to unbind. * @throws NamingException if any error occurs. @@ -121,7 +119,7 @@ public interface SimpleLdapOperations { void unbind(String dn); /** - * Modify the Attributes of the entry corresponsing to the supplied + * Modify the Attributes of the entry corresponding to the supplied * {@link DirContextOperations} instance. The instance should have been * received from the {@link #lookupContext(String)} operation, and then modified to * match the current state of the matching domain object, e.g.: diff --git a/spring-ldap/src/main/java/org/springframework/ldap/core/DirContextAdapter.java b/spring-ldap/src/main/java/org/springframework/ldap/core/DirContextAdapter.java index 7256b3be..3bd4b8ae 100644 --- a/spring-ldap/src/main/java/org/springframework/ldap/core/DirContextAdapter.java +++ b/spring-ldap/src/main/java/org/springframework/ldap/core/DirContextAdapter.java @@ -110,7 +110,7 @@ public class DirContextAdapter implements DirContextOperations { /** * Create a new adapter from the supplied attributes and dn. * - * @param originalAttrs + * @param attrs * the attributes. * @param dn * the dn. @@ -122,7 +122,7 @@ public class DirContextAdapter implements DirContextOperations { /** * Create a new adapter from the supplied attributes, dn, and base. * - * @param originalAttrs + * @param attrs * the attributes. * @param dn * the dn.