1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

Fix NoWhitespaceAfter checkstyle violation

in StringUtils.
This commit is contained in:
Florian Schmaus 2017-04-25 17:42:16 +02:00
parent 162dee0a47
commit 45edc969c9

View file

@ -307,7 +307,7 @@ public class StringUtils {
final Random random = randGen.get(); final Random random = randGen.get();
// 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[random.nextInt(numbersAndLetters.length)]; randBuffer[i] = numbersAndLetters[random.nextInt(numbersAndLetters.length)];
} }