Fix duplicate typos in exceptions and docs
Closes gh-488
This commit is contained in:
committed by
Josh Cummings
parent
8295935290
commit
5d65143fc9
@@ -128,7 +128,7 @@ public abstract class NamingException extends NestedRuntimeException {
|
||||
* associated with this exception, if the root cause was an instance of
|
||||
* {@link javax.naming.NamingException}.
|
||||
*
|
||||
* @return a composite name describing the the leading portion of the name
|
||||
* @return a composite name describing the leading portion of the name
|
||||
* that was resolved successfully if the root cause is an instance
|
||||
* of javax.naming.NamingException, or <code>null</code> if the
|
||||
* resolved name field has not been set
|
||||
|
||||
@@ -167,7 +167,7 @@ public class LdapTemplate implements LdapOperations, InitializingBean {
|
||||
* Specify whether <code>PartialResultException</code> should be ignored in
|
||||
* searches. AD servers typically have a problem with referrals. Normally a
|
||||
* referral should be followed automatically, but this does not seem to work
|
||||
* with AD servers. The problem manifests itself with a a
|
||||
* with AD servers. The problem manifests itself with a
|
||||
* <code>PartialResultException</code> being thrown when a referral is
|
||||
* encountered by the server. Setting this property to <code>true</code>
|
||||
* presents a workaround to this problem by causing
|
||||
|
||||
@@ -251,7 +251,7 @@ public final class LdapQueryBuilder implements LdapQuery {
|
||||
@Override
|
||||
public Filter filter() {
|
||||
if(rootContainer == null) {
|
||||
throw new IllegalStateException("No filter conditions have been specified specified");
|
||||
throw new IllegalStateException("No filter conditions have been specified");
|
||||
}
|
||||
return rootContainer.filter();
|
||||
}
|
||||
|
||||
@@ -792,8 +792,7 @@ We previously saw that updating by using `modifyAttributes` is the recommended a
|
||||
the task of calculating attribute modifications and constructing `ModificationItem` arrays accordingly.
|
||||
`DirContextAdapter` can do all of this for us, as follows:
|
||||
|
||||
.Updating using using `DirContextAdapter`
|
||||
====
|
||||
.Updating using `DirContextAdapter`
|
||||
[[modify-modifyAttributes]]
|
||||
[source,java]
|
||||
[subs="verbatim,quotes"]
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
creating a DirContext, looping through NamingEnumerations, handling
|
||||
exceptions and cleaning up resources. This leaves the programmer to
|
||||
handle the important stuff - where to find data (DNs and Filters) and
|
||||
what do do with it (map to and from domain objects, bind, modify,
|
||||
what to do with it (map to and from domain objects, bind, modify,
|
||||
unbind, etc.), in the same way that JdbcTemplate relieves the
|
||||
programmer of all but the actual SQL and how the data maps to the
|
||||
domain model.</li>
|
||||
|
||||
Reference in New Issue
Block a user