1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +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.
*/
private static final char[] numbersAndLetters = ("0123456789abcdefghijklmnopqrstuvwxyz" +
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ").toCharArray();
"ABCDEFGHIJKLMNOPQRSTUVWXYZ").toCharArray();
/**
* Returns a random String of numbers and letters (lower and upper case)