diff --git a/core/src/main/java/org/springframework/ldap/pool/DelegatingLdapContext.java b/core/src/main/java/org/springframework/ldap/pool/DelegatingLdapContext.java index 5df4efe8..d5a9e6b1 100644 --- a/core/src/main/java/org/springframework/ldap/pool/DelegatingLdapContext.java +++ b/core/src/main/java/org/springframework/ldap/pool/DelegatingLdapContext.java @@ -62,7 +62,7 @@ public class DelegatingLdapContext extends DelegatingDirContext implements LdapC return this.delegateLdapContext; } - // cannot return subtype in overriden method unless Java5 + // cannot return subtype in overridden method unless Java5 public DirContext getDelegateDirContext() { return this.getDelegateLdapContext(); } diff --git a/core/src/main/java/org/springframework/ldap/pool/factory/PoolingContextSource.java b/core/src/main/java/org/springframework/ldap/pool/factory/PoolingContextSource.java index 411661be..992bc940 100644 --- a/core/src/main/java/org/springframework/ldap/pool/factory/PoolingContextSource.java +++ b/core/src/main/java/org/springframework/ldap/pool/factory/PoolingContextSource.java @@ -413,7 +413,7 @@ public class PoolingContextSource implements ContextSource, DisposableBean { * * @param dirContextType The type of context to return. * @return A wrapped DirContext of the specified type. - * @throws DataAccessResourceFailureException If retreiving the object from + * @throws DataAccessResourceFailureException If retrieving the object from * the pool throws an exception */ protected DirContext getContext(DirContextType dirContextType) {