From 73dd46af21b6344dc403a425d785ba94fafaca85 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 16 Nov 2017 17:48:29 +0100 Subject: [PATCH] Remove duplicate numbers from StringUtils.numbersAndLetters Fixes SMACK-784. --- .../src/main/java/org/jivesoftware/smack/util/StringUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/util/StringUtils.java b/smack-core/src/main/java/org/jivesoftware/smack/util/StringUtils.java index c2bb9210a..1a4d3a263 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/util/StringUtils.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/util/StringUtils.java @@ -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)