1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-10-31 17:25:58 +01:00

Remove duplicate numbers from StringUtils.numbersAndLetters

Fixes SMACK-784.
This commit is contained in:
Florian Schmaus 2017-11-16 17:48:29 +01:00
parent 0da3ebf385
commit 73dd46af21

View file

@ -285,7 +285,7 @@ public class StringUtils {
* array index. * array index.
*/ */
private static final char[] numbersAndLetters = ("0123456789abcdefghijklmnopqrstuvwxyz" + private static final char[] numbersAndLetters = ("0123456789abcdefghijklmnopqrstuvwxyz" +
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ").toCharArray(); "ABCDEFGHIJKLMNOPQRSTUVWXYZ").toCharArray();
/** /**
* Returns a random String of numbers and letters (lower and upper case) * Returns a random String of numbers and letters (lower and upper case)