Skip to content

Commit 0150de5

Browse files
ParkerMjzheaux
authored andcommitted
Fix duplicate typos in javadocs and exception msg
1 parent 69e8f2f commit 0150de5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/src/main/java/org/springframework/ldap/NamingException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public Name getRemainingName() {
128128
* associated with this exception, if the root cause was an instance of
129129
* {@link javax.naming.NamingException}.
130130
*
131-
* @return a composite name describing the the leading portion of the name
131+
* @return a composite name describing the leading portion of the name
132132
* that was resolved successfully if the root cause is an instance
133133
* of javax.naming.NamingException, or <code>null</code> if the
134134
* resolved name field has not been set

core/src/main/java/org/springframework/ldap/core/LdapTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public void setIgnoreNameNotFoundException(boolean ignore) {
167167
* Specify whether <code>PartialResultException</code> should be ignored in
168168
* searches. AD servers typically have a problem with referrals. Normally a
169169
* referral should be followed automatically, but this does not seem to work
170-
* with AD servers. The problem manifests itself with a a
170+
* with AD servers. The problem manifests itself with a
171171
* <code>PartialResultException</code> being thrown when a referral is
172172
* encountered by the server. Setting this property to <code>true</code>
173173
* presents a workaround to this problem by causing

core/src/main/java/org/springframework/ldap/query/LdapQueryBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public String[] attributes() {
251251
@Override
252252
public Filter filter() {
253253
if(rootContainer == null) {
254-
throw new IllegalStateException("No filter conditions have been specified specified");
254+
throw new IllegalStateException("No filter conditions have been specified");
255255
}
256256
return rootContainer.filter();
257257
}

0 commit comments

Comments
 (0)