Collapse StringBuilder append lines, remove extra space.
@@ -92,9 +92,7 @@ public class UserService {
userSearchFilter.append(confService.getUserSearchFilter());
userSearchFilter.append("(");
userSearchFilter.append(escapingService.escapeLDAPSearchFilter(usernameAttribute));
- userSearchFilter.append("=*)");
- userSearchFilter.append(")");
-
+ userSearchFilter.append("=*))");
// Find all Guacamole users underneath base DN
LDAPSearchResults results = ldapConnection.search(
