UPD: java RandomPassword

This commit is contained in:
xpk 2024-03-06 09:51:08 +08:00
parent 6b8bb00748
commit 7481d96740
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
3 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class PasswordGenerator {
String word = dictionary.get(randomIndex);
passwordBuilder.append(toCamelCase(word));
if ( i < length-1) {
passwordBuilder.append("/");
passwordBuilder.append("+");
}
}
return passwordBuilder.toString();