Unverified Commit 7b04e47e authored by Guus der Kinderen's avatar Guus der Kinderen Committed by GitHub

OF-1393: Include the letter 'Z'

parent c44f29a6
...@@ -544,7 +544,7 @@ public final class StringUtils { ...@@ -544,7 +544,7 @@ public final class StringUtils {
// Create a char buffer to put random letters and numbers in. // Create a char buffer to put random letters and numbers in.
char[] randBuffer = new char[length]; char[] randBuffer = new char[length];
for (int i = 0; i < randBuffer.length; i++) { for (int i = 0; i < randBuffer.length; i++) {
randBuffer[i] = numbersAndLetters[randGen.nextInt(numbersAndLetters.length - 1)]; randBuffer[i] = numbersAndLetters[randGen.nextInt(numbersAndLetters.length)];
} }
return new String(randBuffer); return new String(randBuffer);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment