1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Switching StringBuffer to StringBuilder throughout the codebase (APIs permitting).

This commit is contained in:
Luke Taylor
2009-12-18 18:44:42 +00:00
parent fac07ba8ff
commit aeed49393c
21 changed files with 22 additions and 22 deletions
@@ -199,7 +199,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
SearchResult searchResult = resultsEnum.next();
// Work out the DN of the matched entry
StringBuffer dn = new StringBuffer(searchResult.getName());
StringBuilder dn = new StringBuilder(searchResult.getName());
if (base.length() > 0) {
dn.append(",");
@@ -168,7 +168,7 @@ public class FilterBasedLdapUserSearch implements LdapUserSearch {
}
public String toString() {
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
sb.append("[ searchFilter: '").append(searchFilter).append("', ");
sb.append("searchBase: '").append(searchBase).append("'");