mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-09-28 10:49:34 +02:00
Remove duplicate numbers from StringUtils.numbersAndLetters
Fixes SMACK-784.
This commit is contained in:
parent
0da3ebf385
commit
73dd46af21
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue