Skip to content

Commit f35dadb

Browse files
committed
style
1 parent 6d2e1cf commit f35dadb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/org/ligoj/app/plugin/id/ldap/dao/AbstractManagedLdapRepository.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/**
2323
* Base LDAP repository for groups, users and companies.
24+
* @param <T> Managed LDAP resource type.
2425
*/
2526
@Slf4j
2627
public abstract class AbstractManagedLdapRepository<T extends ResourceOrg> {

src/main/java/org/ligoj/app/plugin/id/ldap/dao/UserLdapRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void execute(Exception ex) {
128128
* Shared random string generator used for temporary passwords.
129129
*/
130130
public static final RandomStringGenerator GENERATOR = new RandomStringGenerator.Builder()
131-
.filteredBy(c -> CharUtils.isAsciiAlphanumeric(Character.toChars(c)[0])).build();
131+
.filteredBy(c -> CharUtils.isAsciiAlphanumeric(Character.toChars(c)[0])).get();
132132

133133
/**
134134
* Flag used to hash the password or not.

0 commit comments

Comments
 (0)